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; 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 x10y1/ny2/ny3/ny4/ny5/ny6/ny7/ny8/ny9/n