1--TEST-- 2Register Alloction 003: Reuse temporary register 3--SKIPIF-- 4<?php 5if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); 6?> 7--INI-- 8opcache.enable=1 9opcache.enable_cli=1 10opcache.file_update_protection=0 11opcache.jit_buffer_size=1M 12opcache.protect_memory=1 13--EXTENSIONS-- 14opcache 15--FILE-- 16<?php 17function test($char_code) { 18 if ($char_code == !($char_code & 0xffffff80)) { 19 return "correct"; 20 } else { 21 return "wrong"; 22 } 23} 24echo test(65), "\n"; 25?> 26--EXPECTF-- 27Deprecated: Implicit conversion from float 4294967168 to int loses precision in %s on line %d 28correct 29