3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(); foreach (range(1, 1000000) as $i) { $a []= new StdClass; }