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