- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.28
- Parse error: syntax error, unexpected '&' in /in/1RLvp on line 4
Process exited with code 255.
<?php
class X {
function &__get($name) { $tmp = array('foo' => NULL); return &$tmp; }
}
$x = new X;
echo key($x->foo);