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