1--TEST--
2Register Alloction 010: Missed store
3--INI--
4opcache.enable=1
5opcache.enable_cli=1
6opcache.file_update_protection=0
7opcache.jit_buffer_size=1M
8--FILE--
9<?php
10function foo($y) {
11    for (; $cnt < 6; $cnt++) {
12        for ($i=0; $i <.1; $i++)
13            for(;$y;);
14        [$i=$y];
15    }
16}
17foo(null);
18?>
19DONE
20--EXPECTF--
21Warning: Undefined variable $cnt in %sreg_alloc_010.php on line 3
22
23Warning: Undefined variable $cnt in %sreg_alloc_010.php on line 3
24DONE