我需要使用 PHP 重新排列跟随数组的顺序,我尝试使用数组 shuffle 和 array_random 但没有运气,谁能帮助我
Array (
[0] => Array (
[value] => 4
[label] => GasGas
)
[1] => Array (
[value] => 3
[label] => Airoh Helmets
)
[2] => Array (
[value] => 12
[label] => XCiting Trials Wear
)
[3] => Array (
[value] => 11
[label] => Hebo Trials
)
[4] => Array (
[value] => 10
[label] => Jitsie Products
)
[5] => Array (
[value] => 9
[label] => Diadora Boots
)
[6] => Array (
[value] => 8
[label] => S3 Performance
)
[7] => Array (
[value] => 7
[label] => Scorpa
)
[8] => Array (
[value] => 6
[label] => Inspired
)
[9] => Array (
[value] => 5
[label] => Oset
)
)