3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class x extends ArrayObject { public function __construct() { $this['x']['y'] = 'valami'; } } $x = new x(); var_dump($x['x']['y']);
based on 9s0Dn
Output for 5.5.0 - 7.3.0rc3
string(6) "valami"