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.protect_memory=1 8--FILE-- 9<?php 10class Test { 11 public $prop; 12 function __construct() { 13 $this->prop = $this->retref(); 14 } 15 function &retref() { 16 return str_repeat("a", 5); 17 } 18} 19$o = new Test(); 20var_dump($o); 21?> 22--EXPECTF-- 23Notice: Only variable references should be returned by reference in %sassign_042.php on line 8 24object(Test)#1 (1) { 25 ["prop"]=> 26 string(5) "aaaaa" 27} 28