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'; } echo $a[];
Output for 7.3.0rc3
Parse error: syntax error, unexpected ',' in /in/KkCLo on line 12
Process exited with code 255.