这个php程序的价值是什么? [英] What is the value of this php program?
本文介绍了这个php程序的价值是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
$i = 0;
while ($i++ < 5) {
echo "outer\n";
while (1) {
echo "middle\n";
while (1) {
echo "inner\n";
continue 3;
}
echo "after middle\n";
}
echo "after outer\n";
}
此php程序的价值是什么?为什么? ...谢谢!
What is the value of this php program? Why? ...thanks!
推荐答案
i = 0; while(
i = 0; while (
i ++ < echo 外部\ n; 而 ( 1) { span> echo span> 而 span> 内部\ n"; 3; span> } echo 中间\ n; } echo " 之后 外部\ n; }
i++ < 5) { echo "outer\n"; while (1) { echo "middle\n"; while (1) { echo "inner\n"; continue 3; } echo "after middle\n"; } echo "after outer\n"; }
此php程序的价值是什么?为什么? ...谢谢!
What is the value of this php program? Why? ...thanks!
阅读以下内容:
增量(理解很重要,用++
Read the following:
Increments (important to understand, with ++
这篇关于这个php程序的价值是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文