3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = 4; for (;$a < 10;) { print '$a = ' + $a + "\n"; $a++; }
Output for 7.1.0
Warning: A non-numeric value encountered in /in/WoZdL on line 4 Warning: A non-numeric value encountered in /in/WoZdL on line 4 4 Warning: A non-numeric value encountered in /in/WoZdL on line 4 Warning: A non-numeric value encountered in /in/WoZdL on line 4 5 Warning: A non-numeric value encountered in /in/WoZdL on line 4 Warning: A non-numeric value encountered in /in/WoZdL on line 4 6 Warning: A non-numeric value encountered in /in/WoZdL on line 4 Warning: A non-numeric value encountered in /in/WoZdL on line 4 7 Warning: A non-numeric value encountered in /in/WoZdL on line 4 Warning: A non-numeric value encountered in /in/WoZdL on line 4 8 Warning: A non-numeric value encountered in /in/WoZdL on line 4 Warning: A non-numeric value encountered in /in/WoZdL on line 4 9
Output for 4.3.0 - 7.0.14
456789