3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $obj1 = new ArrayObject(array(array(1,2,3)), 1])); var_dump($obj1); unset($obj1[0][0]); var_dump($obj1);
Output for 5.3.0 - 5.4.12
Parse error: syntax error, unexpected ']' in /in/FDK1J on line 2
Process exited with code 255.