PHP ʖ²ἯTH
º/A
Ղ 12. w³̿ؖƼ/TD
while
while (expr) statement
while (expr): statement... endwhile;
/* example 1 */ $i = 1; while ($i = 10) {print $i++; /* the printed value would be $i before the increment (post-increment) */} /* example 2 */ $i = 1; while ($i = 10): print $i; $i++; endwhile;
º/A
ưµ㼯A
w³̿ؖƵČ洺ӯ·¨
ɏһ¼¶
do..while