1--TEST--
2Destroy object in magic __get()
3--FILE--
4<?php
5class Test {
6    function __get($name) {
7        $GLOBALS["x"] = null;
8    }
9}
10$x = new Test;
11var_dump($x->prop);
12
13?>
14--EXPECT--
15NULL
16