3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = "foo"; function foo(){ echo "wtf"; } $x();
based on IM3JT
Output for 4.3.0 - 7.1.0
wtf