1--TEST--
2FE_FETCH op2 is a def and needs special live range handling
3--FILE--
4<?php
5try {
6    foreach (["test"] as $k => func()[]) {}
7} catch (Error $e) {
8    echo $e->getMessage(), "\n";
9}
10?>
11--EXPECT--
12Call to undefined function func()
13