3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (1): echo "HERE"; if (1){ echo 'x'; } else: echo 'y'; endif;
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected ':' in /in/mXWmO on line 7
Process exited with code 255.