3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ao = new ArrayObject(array('a' => 'bapple')); var_dump($so['banana']);
Output for 5.3.28 - 5.3.29, 5.4.18 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: so in /in/B2jVe on line 5 NULL
Output for 5.0.4 - 5.3.27, 5.4.0 - 5.4.17
Notice: Undefined variable: so in /in/JOaPF on line 5 NULL
Output for 5.0.0 - 5.0.3
Notice: Undefined variable: so in /in/JOaPF on line 5 NULL
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/JOaPF on line 3
Process exited with code 255.
Output for 4.3.1
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/JOaPF on line 3
Output for 4.3.0
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/B2jVe on line 3