1--TEST--
2JIT ASSIGN_OBJ: Assign property on null
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--EXTENSIONS--
9opcache
10--FILE--
11<?php
12function test1($o) {
13    $o->x = new stdClass;
14}
15function test2($o) {
16    $o->x += new stdClass;
17}
18
19try {
20    test1(null);
21} catch (Error $e) {
22    echo $e->getMessage(), "\n";
23}
24
25try {
26    test2(null);
27} catch (Error $e) {
28    echo $e->getMessage(), "\n";
29}
30
31?>
32--EXPECT--
33Attempt to assign property "x" on null
34Attempt to assign property "x" on null
35