3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$foo = 'bar'; ?> Foo <?= $foo ?> zar
Output for 5.4.0 - 5.5.15
Parse error: syntax error, unexpected '$foo' (T_VARIABLE) in /in/ZL38u on line 1
Process exited with code 255.
Output for 4.3.0 - 5.3.29
<?php$foo = 'bar'; ?> Foo <?= $foo ?> zar