1--TEST-- 2JIT JMPZ_EX: Operand needs to be freed even if same as result 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7opcache.jit_buffer_size=1M 8opcache.protect_memory=1 9--EXTENSIONS-- 10opcache 11--FILE-- 12<?php 13class Test { 14 public $prop; 15 public function method() { 16 return $this->prop && $this->prop->method2(); 17 } 18} 19 20class Test2 { 21 public function method2() { 22 return true; 23 } 24}; 25 26$test = new Test; 27$test->prop = new Test2; 28var_dump($test->method()); 29 30?> 31--EXPECT-- 32bool(true) 33