3v4l.org

run code in 200+ 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 - 7.2.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