解密二维码地图坐标转换
xiaozi 2015-03-14 13:31:42
php函数返回值为数组的时候,赋值不会重置数组内部指针。
function test() { $arr2 = [1,2,3]; foreach ($arr2 as $a) {} return $arr2; } $arr4 = test(); // bool(false) var_dump(current($arr4));
inicio - Wiki Copyright © 2011-2025 iteam. Current version is 2.139.0. UTC+08:00, 2025-01-09 18:17 浙ICP备14020137号-1 $mapa de visitantes$