3v4l.org

run code in 300+ PHP versions simultaneously
<?php print "foo"
Output for 5.4.0 - 5.4.40, 5.5.24, 5.6.8
Parse error: syntax error, unexpected end of file in /in/GftuC on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected $end in /in/GftuC on line 3
Process exited with code 255.

preferences:
189.7 ms | 1386 KiB | 79 Q