3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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.