怎么能让while循环变成死循环,无限的输出
'red','blue','green','yellow'
$colors= array('red','blue','green','yellow');
while(list($key,$val)= each($colors)) {
$x=$colors;//赋任意指针回到开始位置
echo "$key=> $val<br />";
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。