3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 15; $i += 2) { print $i .','. $i + 1 . PHP_EOL; }
based on ouQtq
Output for 7.1.0 - 7.3.0rc3
Notice: A non well formed numeric value encountered in /in/Cq0Xu on line 4 1 Notice: A non well formed numeric value encountered in /in/Cq0Xu on line 4 3 Notice: A non well formed numeric value encountered in /in/Cq0Xu on line 4 5 Notice: A non well formed numeric value encountered in /in/Cq0Xu on line 4 7 Notice: A non well formed numeric value encountered in /in/Cq0Xu on line 4 9 Notice: A non well formed numeric value encountered in /in/Cq0Xu on line 4 11 Notice: A non well formed numeric value encountered in /in/Cq0Xu on line 4 13 Notice: A non well formed numeric value encountered in /in/Cq0Xu on line 4 15
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.0.20
1 3 5 7 9 11 13 15