1--TEST--
2ASSIGN_OBJ should not return reference
3--FILE--
4<?php
5
6$obj = new stdClass;
7$obj->ref =& $ref;
8$obj->val = $obj->ref = 42;
9var_dump($obj);
10
11?>
12--EXPECT--
13object(stdClass)#1 (2) {
14  ["ref"]=>
15  &int(42)
16  ["val"]=>
17  int(42)
18}
19