1--TEST--
2ASSIGN_OBJ_OP 001: Incorrect optimization of ASSIGN_OBJ_OP may lead to memory leak
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.optimization_level=-1
7--FILE--
8<?php
9function s() {
10    $a .= $a += $y;
11    $a = $a->y *= '';
12}
13s();
14?>
15--EXPECTF--
16Warning: Undefined variable $y in %sassign_obj_op_001.php on line 3
17
18Warning: Undefined variable $a in %sassign_obj_op_001.php on line 3
19
20Fatal error: Uncaught Error: Attempt to assign property "y" on string in %sassign_obj_op_001.php:4
21Stack trace:
22#0 %sassign_obj_op_001.php(6): s()
23#1 {main}
24  thrown in %sassign_obj_op_001.php on line 4
25