3v4l.org

run code in 300+ PHP versions simultaneously
<?php sort(array(1,2,3))
Output for 5.3.0 - 5.3.18, 5.4.0 - 5.4.8
Fatal error: Only variables can be passed by reference in /in/j604T on line 2
Process exited with code 255.

preferences:
174.76 ms | 1387 KiB | 35 Q