3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 15; $i += 2) { echo $i . "PHP_EOL"; echo ($i + 1) . PHP_EOL; }
based on Scrca
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
0PHP_EOL1 2PHP_EOL3 4PHP_EOL5 6PHP_EOL7 8PHP_EOL9 10PHP_EOL11 12PHP_EOL13 14PHP_EOL15