1--TEST-- 2GH-17140 (Assertion failure in JIT trace exit with ZEND_FETCH_OBJ_FUNC_ARG) 3--EXTENSIONS-- 4opcache 5--INI-- 6opcache.jit=1254 7opcache.jit_buffer_size=32M 8opcache.jit_hot_func=1 9opcache.jit_hot_side_exit=1 10--FILE-- 11<?php 12namespace Foo; 13class X { 14 public $a = 1; 15 public $b; 16 function __construct() { 17 unset($this->b); 18 } 19} 20function test() { 21 $a['x'] = new X; 22 for ($fusion = 0; $i < 3; $i++) { 23 var_dump($a['x']->b); 24 } 25} 26test(); 27?> 28--EXPECTF-- 29Warning: Undefined variable $i in %s on line %d 30 31Warning: Undefined property: Foo\X::$b in %s on line %d 32NULL 33 34Warning: Undefined variable $i in %s on line %d 35 36Warning: Undefined property: Foo\X::$b in %s on line %d 37NULL 38 39Warning: Undefined property: Foo\X::$b in %s on line %d 40NULL 41