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