3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "hallo word "; $x = 0; if ($x == 0){ $x = 10; echo "x".$x."\n"; for($y=1;$y<$x;$y++){ echo "y".$y."\n"; } } ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
hallo word x10 y1 y2 y3 y4 y5 y6 y7 y8 y9