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