3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $y = new ArrayObject(); echo $y[NULL];
Output for 5.4.8 - 5.6.14, 5.6.16 - 7.2.0
Notice: Undefined index: in /in/fnKeC on line 3
Output for 5.6.15

Process exited with code 139.
Output for 5.0.0 - 5.3.17, 5.4.0 - 5.4.7
Warning: Illegal offset type in /in/fnKeC on line 3
Output for 5.3.18 - 5.3.29
Notice: Undefined index: in /in/fnKeC on line 3
Output for 4.3.2 - 4.4.9
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/fnKeC on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Cannot instantiate non-existent class: arrayobject in /in/fnKeC on line 2