时间戳字帖归属地
xiaozi 2015-01-19 14:56:41
php中,赋值引发的死循环,因为数组内部指针被重置了。
<?php $arr = ['hello', 'world']; while ($word = each($arr)) { var_dump($word['value']); $x = $arr; // here }
Home - Wiki Copyright © 2011-2025 iteam. Current version is 2.146.0. UTC+08:00, 2025-08-29 16:05 浙ICP备14020137号-1 $Map of visitor$