Hi

On 6/13/22 04:23, Go Kudo wrote:
I have created a PoC that allows all internal operations to be performed in
64-bit environments to achieve the same results, although the efficiency of
execution in 32-bit environments will be reduced. (Note that
Randomizer::getInt() with no argument is still incompatible.)

https://github.com/php/php-src/commit/dbed218bfcd45e713fa3df2c88a4c2efce9f0651


I believe this is a good solution. The majority of the modern setups (i.e. the setups that are using PHP 8.2) will likely be 64-bit anyway and reduced performance on 32-bit is then acceptable.

Best regards
Tim Düsterhus

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: https://www.php.net/unsub.php

Reply via email to