1--TEST-- 2JIT ROPE: 002 type guards are only checked for strings 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7--FILE-- 8<?php 9function foo() { 10 $a = 0; 11 for ($cnt = 0; $cnt < 6; $cnt++) { 12 $array[] = &$y; 13 $S["$array[$a] $y"] = $a += $y; 14 } 15} 16foo(); 17?> 18DONE 19--EXPECT-- 20DONE 21