1--TEST-- 2JIT ASSIGN: incorrect assumption about in-memory zval type 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7opcache.protect_memory=1 8--FILE-- 9<?php 10function test() { 11 $a = null; 12 for ($i = 0; $i < 6; $i++) { 13 var_dump($a); 14 $a = $a + $a = +$a = $b; 15 } 16} 17test(); 18?> 19--EXPECTF-- 20NULL 21 22Warning: Undefined variable $b in %sassign_046.php on line 6 23int(0) 24 25Warning: Undefined variable $b in %sassign_046.php on line 6 26int(0) 27 28Warning: Undefined variable $b in %sassign_046.php on line 6 29int(0) 30 31Warning: Undefined variable $b in %sassign_046.php on line 6 32int(0) 33 34Warning: Undefined variable $b in %sassign_046.php on line 6 35int(0) 36 37Warning: Undefined variable $b in %sassign_046.php on line 6 38