1--TEST-- 2Register Alloction 022: Incorrect type assumption 3--INI-- 4opcache.enable=1 5opcache.enable_cli=1 6opcache.file_update_protection=0 7--FILE-- 8<?php 9function test() { 10 $a = $b = $x = 0; $c = null; 11 for ($i = 0; $i < 20; $i++) { 12 $x .= $b; 13 $x = $a ? $b : $c; 14 $a &= $x != $a ? $b : $c; 15 $x = $a ? $b : $c; 16 $a &= $x != $a ? $b : $c; 17 $x != $a ?: $c; 18 $a--; 19 } 20} 21test(); 22?> 23DONE 24--EXPECT-- 25DONE