1--TEST-- 2JIT ASSIGN: Assign to of reference with 1 refcount 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7opcache.jit_buffer_size=1M 8opcache.protect_memory=1 9--FILE-- 10<?php 11class Test { 12 public $prop; 13 function __construct() { 14 $this->prop = $this->retref(); 15 } 16 function &retref() { 17 return str_repeat("a", 5); 18 } 19} 20$o = new Test(); 21var_dump($o); 22?> 23--EXPECTF-- 24Notice: Only variable references should be returned by reference in %sassign_042.php on line 8 25object(Test)#1 (1) { 26 ["prop"]=> 27 string(5) "aaaaa" 28} 29