Output of the "Shuffling an array with PHP and the randomizer class" PHP snippet
Environment:
- Strangebuzz Snippet VM: 6.4.9
- PHP: 8.4
Code execution output:
array(6) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "d"
[4]=>
string(3) "foo"
[5]=>
string(3) "bar"
}
array(6) {
[0]=>
string(3) "bar"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
[3]=>
string(1) "a"
[4]=>
string(1) "d"
[5]=>
string(3) "foo"
}