This topic created in 4954 days ago, the information mentioned may be changed or developed.
$test = array( 1 => 'a', 9 => 'b' );
print_r(array_merge($test));
4 replies • 1970-01-01 08:00:00 +08:00
 |
|
直接用 array_values($test) 不是更好。。。
|
 |
|
感谢分享=w=
|
 |
|
当 key , type 为 number 时 会对所有此类型的key 自动编号
|