3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define("TEST", "test"); function test($test = TEST . " this shit") { echo $test; } test();
Output for 5.6.8 - 7.2.0
test this shit
Output for 5.3.19 - 5.5.35
Parse error: syntax error, unexpected '.', expecting ')' in /in/MV947 on line 4
Process exited with code 255.