Array ( [0] => 5555 [1] "/> Array ( [0] => 5555 [1] ">
Heim >Backend-Entwicklung >PHP-Tutorial >preg_match_all()小疑点不明白求解决
preg_match_all()小问题不明白求解决!
preg_match_all("/\d*/","5555", $images);
输出$images数组为:Array ( [0] => Array ( [0] => 5555 [1] => ) )
为什么二维数组中会有一个空的索引!