3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { function getData() { return true; } } $set = array(); foreach(range(1, 2000) as $f) { $set[] = new Foo; } $array = array(); foreach ($set as $f) { $array[] = $set; }
Output for 4.3.0 - 7.2.0