Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

PHP-foreach與while

//舊的寫法
while(list($key,$value) = each($attributes)){
//do something
}
//PHP4版本新增
foreach($attributes as $key => $value){
//do something
}

發表迴響