php用for循环_PHP for循环
PHP for循环可以用来遍历一组指定的次数的代码。如果迭代次数已知,则应优先考虑使用for循环,否则使用while循环。for循环的语法for(initialization; condition; increment/decrement){//code to be executed}for循环流程图示例代码-for($n=1;$n<=10;$n++){echo "$n";}?>输出结...