while (list($key, $value) = each($array)) {
...
}
替换为:
foreach ($arr as $key => $value) {
...
}
参考链接:
https://www.cnblogs.com/richerdyoung/p/11765206.html
while (list($key, $value) = each($array)) {
...
}
替换为:
foreach ($arr as $key => $value) {
...
}
参考链接:
https://www.cnblogs.com/richerdyoung/p/11765206.html