3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = "Tomorrow I \'ll learn PHP global variables. <br>"; $y = "This is a bad command : del c:\*.*<br>"; function addition() { echo $GLOBALS["x"]; echo $GLOBALS["y"]; } addition(); ?>
based on WEPfR
Output for 4.3.0 - 7.1.0
Tomorrow I \'ll learn PHP global variables. <br>This is a bad command : del c:\*.*<br>