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--FILE-- 9<?php 10function test1($o) { 11 $o->x = new stdClass; 12} 13function test2($o) { 14 $o->x += new stdClass; 15} 16 17try { 18 test1(null); 19} catch (Error $e) { 20 echo $e->getMessage(), "\n"; 21} 22 23try { 24 test2(null); 25} catch (Error $e) { 26 echo $e->getMessage(), "\n"; 27} 28 29?> 30--EXPECT-- 31Attempt to assign property "x" on null 32Attempt to assign property "x" on null 33