for php for循环语句使用范例
php for循环语句使用范例 [代码片段(17行)] 输出结果
<html> <body> <?php $a = 0; $b = 0; for( $i=0; $i<5; $i++ ) { $a += 10; $b += 5; } echo ("At the end of the loop a=$a and b=$b" ); ?> </body> </html>
输出结果
At the end of the loop a=50 and b=25
精彩图集
精彩文章