- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.29
- Parse error: syntax error, unexpected '(', expecting '{' in /in/Tjif3 on line 2
Process exited with code 255.
<?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));