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