1--TEST--
2FE_RESET: 001 undef $$ operand
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7--FILE--
8<?php
9for ($i = 0; $i < 5; $i++) {
10    for ($j = 0; $j < $i; $j++) {}
11    foreach ($$i as $x) {}
12}
13?>
14OK
15--EXPECTF--
16Warning: Undefined variable $0 in %sfe_reset_001.php on line 4
17
18Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
19
20Warning: Undefined variable $1 in %sfe_reset_001.php on line 4
21
22Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
23
24Warning: Undefined variable $2 in %sfe_reset_001.php on line 4
25
26Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
27
28Warning: Undefined variable $3 in %sfe_reset_001.php on line 4
29
30Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
31
32Warning: Undefined variable $4 in %sfe_reset_001.php on line 4
33
34Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
35OK
36
37