3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r $_SERVER;
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.24, 7.0.0 - 7.0.9
Parse error: syntax error, unexpected '$_SERVER' (T_VARIABLE) in /in/cgahj on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_VARIABLE in /in/cgahj on line 3
Process exited with code 255.

preferences:
235.92 ms | 1395 KiB | 155 Q