[php-src] Issue #10598: Bitwise Operators - Bit shifting Implicit conversion from float

From: Date: Wed, 15 Feb 2023 12:53:09 +0000
Subject: [php-src] Issue #10598: Bitwise Operators - Bit shifting Implicit conversion from float
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-243732@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/10598 Author: crispy-computing-machine ### Description The following code: ```php <?php echo (0xFFFF0000 >> 16); ``` Resulted in this output: ``` Implicit conversion from float 4294901760 to int loses precision ``` But I expected this output instead: ``` 65535 ``` ### PHP Version PHP 8.2.2 ZTS Visual C++ 2019 x86 ### Operating System Windows

« previous php.bugs (#243732) next »