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.protect_memory=1 12--EXTENSIONS-- 13opcache 14--FILE-- 15<?php 16function test($char_code) { 17 if ($char_code == !($char_code & 0xffffff80)) { 18 return "correct"; 19 } else { 20 return "wrong"; 21 } 22} 23echo test(65), "\n"; 24?> 25--EXPECTF-- 26Deprecated: Implicit conversion from float 4294967168 to int loses precision in %s on line %d 27correct 28