- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
- Fatal error: Method X::__get() must take exactly 1 argument in /in/CrK7F on line 4
Process exited with code 255.
<?php
class X {
function __get() { return array('foo' => NULL); }
}
$x = new X;
echo key($x->foo);