3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = [ "5" => "abc", "2" => "bca", "1" => "?", "33" => "he11o", ]; print_r($array); shuffle($array); print_r($array);

preferences:
27.91 ms | 405 KiB | 5 Q