3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(x=1 )
Output for 5.4.0 - 5.4.23
Warning: Unsupported declare 'x' in /in/NC22s on line 2 Parse error: syntax error, unexpected end of file in /in/NC22s on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Warning: Unsupported declare 'x' in /in/NC22s on line 2 Parse error: syntax error, unexpected $end in /in/NC22s on line 3
Process exited with code 255.

preferences:
191.4 ms | 935 KiB | 61 Q