求助,下面代码,提示Oops, try again! It looks like your loop didn't echo 'the 10... '.

2013-05-23 20:47:49 +08:00
 huafang
<?php
$yardlines = array("The 50... ", "the 40... ",
"the 30... ", "the 20... ", "the 10... ");
// Write your foreach loop below this line

foreach($yardlines as $item){
// Write your foreach loop above this line
echo $item;

}
?>
3171 次点击
所在节点    PHP
4 条回复
skydiver
2013-05-23 20:51:41 +08:00
// Write your foreach loop above this line

这不是写了让你把循环写到上面嘛。。
vibbow
2013-05-23 20:52:14 +08:00
表示本地运行没完呢提
vibbow
2013-05-23 20:52:27 +08:00
表示本地运行没问题
C:\Users\1\Desktop>php test.php
The 50... the 40... the 30... the 20... the 10...
huafang
2013-05-23 21:16:29 +08:00
@vibbow 我也觉得很诡异

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/69942

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX