1--TEST-- 2JIT Shift Right: 004 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 $j = 2; 12 for ($i = 0; $i < 10; 13 $i + $b = $a + $a = $a + $a = $a + 14 $a = !$a + 15 $c[0] .= 0xfff0001/34028236692903846346336*6) { 16 $a =!$a + $a &= 74444444 - 444 >> 4 - $j++; 17 if ($j > 14) break; 18 } 19} 20test(); 21?> 22--EXPECTF-- 23Warning: Undefined variable $a in %sshift_right_004.php on line 8 24 25Warning: Undefined variable $a in %sshift_right_004.php on line 8 26 27Warning: Undefined variable $c in %sshift_right_004.php on line 7 28 29Warning: Undefined array key 0 in %sshift_right_004.php on line 7 30 31Deprecated: Implicit conversion from float %f to int loses precision in %sshift_right_004.php on line 8 32 33Warning: A non-numeric value encountered in %sshift_right_004.php on line 7 34 35Warning: A non-numeric value encountered in %sshift_right_004.php on line 7 36 37Fatal error: Uncaught ArithmeticError: Bit shift by negative number in %sshift_right_004.php:8 38Stack trace: 39#0 %sshift_right_004.php(12): test() 40#1 {main} 41 thrown in %sshift_right_004.php on line 8 42