While can also be used to iterate a set of statements depending on a problem. ordinarily whilst is most popular when number of iterations are certainly not recognised ahead of time.
Schema-pushed: GraphQL APIs are https://bookmarkhard.com/story18000563/5-simple-statements-about-php-script-explained