3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $defaultArrangement=array(1=>'sixteen','eight','eight','twelve','four','eight','eight','nine','seven','nine','seven'); $iColumns=0; $counter=0; while ($counter < 15) { echo $defaultArrangement[$iColumns]; $iColumns++; $counter++; if ($iColumns > count($defaultArrangement)) { $iColumns = 0; } } ?>
based on HtVfh
Output for 5.3.0 - 7.2.0
Notice: Undefined offset: 0 in /in/HvhM2 on line 7 sixteeneighteighttwelvefoureighteightninesevennineseven Notice: Undefined offset: 0 in /in/HvhM2 on line 7 sixteeneight
Output for 4.3.0 - 5.2.17
Notice: Undefined offset: 0 in /in/HvhM2 on line 7 sixteeneighteighttwelvefoureighteightninesevennineseven Notice: Undefined offset: 0 in /in/HvhM2 on line 7 sixteeneight