3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "<h1>Hello, PHP!</h1>"; $x ="10"; $y ="20"; $z ="5"; echo $x; echo $y; echo $z; WHILE ($x > 0) {$x--; echo "$x <br>"; }; ?>
Output for 4.3.0 - 7.1.0
<h1>Hello, PHP!</h1>102059 <br>8 <br>7 <br>6 <br>5 <br>4 <br>3 <br>2 <br>1 <br>0 <br>