摘要: 循环结构 一、while循环 while(表达式) { 循环体;//反复执行,直到表达式为假 } 代码: $index = 1; while ($index<5) { print "Number is {$index} "; $index++; } print "Done"; 运行结果: Numbe 阅读全文
posted @ 2017-10-11 22:27 WORSHIP亚萨 阅读(485) 评论(0) 推荐(0) 编辑