3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class B extends ArrayObject() { } $a = new B(); $a['null'] = null; var_dump($a->offsetExists('null')); var_dump(isset($a['null'])); var_dump(array_key_exists('null', $a));
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected '(', expecting '{' in /in/Tjif3 on line 2
Process exited with code 255.