3v4l.org

run code in 300+ PHP versions simultaneously
<?php shuffle(array(1,2,3,4,5,6));
Output for 5.3.0 - 5.3.22, 5.3.24, 5.4.0 - 5.4.12, 5.4.14
Fatal error: Only variables can be passed by reference in T1rn5 on line 2
Process exited with code 255.
Output for 5.3.23, 5.4.13
Fatal error: Only variables can be passed by reference in /in/PHpsT on line 2
Process exited with code 255.

preferences:
58.41 ms | 401 KiB | 45 Q