1--TEST--
2Using return of property assignment to reference that destroys object
3--FILE--
4<?php
5
6$a = new stdClass;
7$a->a =& $a;
8var_dump($a->a = 0);
9
10?>
11--EXPECT--
12int(0)
13