3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); foreach (range(1, 1000) as $i) { $a []= new StdClass; $a[$i]->test = $a[$i--]; } print_r($a[0]);