3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x="10"; function mytest(){ $t="20"; } mytest(); echo$x=""; ?>
based on 3RSfP
Output for 5.3.21 - 7.2.0