3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $month = array(); for ($i=0; $i<6; $i++ ) { $month[]= $i++; } print_r($month);
Output for 4.3.0 - 7.1.0
Array ( [0] => 0 [1] => 2 [2] => 4 )