1--TEST-- 2Register Alloction 007: Missing store 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7--FILE-- 8<?php 9function test() { 10 for ($i = 0; $i < 100; $i++) { 11 $a = $a + $a = $a + !$a = $a; 12 $aZ = $a; 13 @$aZ %= $a; 14 } 15} 16test(); 17?> 18--EXPECTF-- 19Warning: Undefined variable $a in %sreg_alloc_007.php on line 4 20 21Fatal error: Uncaught DivisionByZeroError: Modulo by zero in %sreg_alloc_007.php:6 22Stack trace: 23#0 %sreg_alloc_007.php(9): test() 24#1 {main} 25 thrown in %sreg_alloc_007.php on line 6 26