3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A { public $aaa; } class B { public $bbb; } $a=[]; foreach(range(0,12) as $val){ $a[] = new A; $a[]->aaa='jkljkljkl'; print_r($a);
Output for 7.3.0rc3
Parse error: syntax error, unexpected end of file in /in/sspef on line 15
Process exited with code 255.