1--TEST-- 2JIT INIT_FCALL: 004 Invalid target opline with jit->reuse_ip active 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6--EXTENSIONS-- 7opcache 8--FILE-- 9<?php 10 11function gen() { 12 yield 1; 13 yield 2; 14 return 3; 15}; 16 17opcache_jit_blacklist(gen(...)); 18 19for ($i = 0; $i < 2; ++$i) { 20 foreach (gen() as $val) { 21 var_dump($val); 22 } 23} 24?> 25DONE 26--EXPECT-- 27int(1) 28int(2) 29int(1) 30int(2) 31DONE 32