Home >Backend Development >PHP Tutorial >PHP process control while
This article mainly introduces the while of PHP process control, which has a certain reference value. Now I share it with everyone. Friends in need can refer to it
This article is for basic use Learners, experts please close this page
It takes 3 minutes to read this article. It’s hard to understand those who have difficulty?
<?php $aaaa = 1; while ($aaaa<= 10) { echo $aaaa++; } $aaaa = 1; while ($aaaa <= 10): print $aaaa; $aaaa++; endwhile;
Related recommendations:
php process control alternative syntax for process control
The above is the detailed content of PHP process control while. For more information, please follow other related articles on the PHP Chinese website!