3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $n=11;$m=50; echo "even no from $n and $m are:"; while($n<=$m) { if($n%2==0) { echo $n.' '; } $n=$n+1; } ?>
based on 9Eg8O
Output for 4.3.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
even no from 11 and 50 are:12 14 16 18 20 22 24 26 28 30 32 34 36 38 40 42 44 46 48 50
Output for hhvm-3.10.0

Process exited with code 153.