do
do { statements } while ( expression );
do { statements } until ( expression )
The statement(s) behind the do function will be executed at least once. The subsquent while and until functions will check whether to repeat executing the statements or not.
0
a[] = 0;
do { print( a[], ' ' ); } while ( a[]++ < 10);
do { print( a[], ' ' ); } while ( a[]++ < 10); // Loop runs at least once more.
echo;
0 1 2 3 4 5 6 7 8 9 10 11