3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $k=7; while($k){ echo "<br>".$k+2; $k--; };
based on RhKkC
Output for 7.1.0 - 7.3.0rc3
Warning: A non-numeric value encountered in /in/ROa67 on line 6 2 Warning: A non-numeric value encountered in /in/ROa67 on line 6 2 Warning: A non-numeric value encountered in /in/ROa67 on line 6 2 Warning: A non-numeric value encountered in /in/ROa67 on line 6 2 Warning: A non-numeric value encountered in /in/ROa67 on line 6 2 Warning: A non-numeric value encountered in /in/ROa67 on line 6 2 Warning: A non-numeric value encountered in /in/ROa67 on line 6 2
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.0.20
2222222