3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = array(); class MyArrayObject{ public $name, $age; public function __construct( $name, $age ) { $this->name = $name; $this->age = $age; } } for( $x=0;$x<10000;$x++){ $o = new MyArrayObject( "Adam", 35 ); $s[] = $o; }
Output for 7.3.0rc3