3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $h = [ 512, 520, 525, ]; $c = [ 401, 410, 411, 420, 428, 440, ]; for ($i=1; $i < 10; $i++) { echo 'o'; for ($j=1; $j < 10; $j++) { echo $j; } echo PHP_EOL; } foreach ($c as $r) { echo $r , PHP_EOL; foreach ($h as $rr) { echo $rr; } }
based on 6um1W
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0rc3
o123456789 o123456789 o123456789 o123456789 o123456789 o123456789 o123456789 o123456789 o123456789 401 512520525410 512520525411 512520525420 512520525428 512520525440 512520525