PHP 常用数组函数

2020-04-28编程50

方法名作用返回值示例
shuffle打乱数组原有顺序bool

$array = [

1,

2,

3,

];

shuffle($array);

print_r($array);