7 function __construct() {
8 $this->a
= darray
['x' => new Y
];
13 $this->qq
->x
= $this->qq
->y
= 1;
21 function test($x, $a, $s) {
24 unset($x->q
->r
->s
->$foo);
25 } catch (UndefinedVariableException
$e) {
26 var_dump($e->getMessage());
28 unset($x->y
->a
->b
->c
);
29 unset($x->a
['x']->y
->a
->b
->c
);
30 unset($a['a']['y'][foo()]);
39 test(new X
, varray
[], $s);