Re: [RFC] [Vote] Pre-vote announcement for Random Extension 5.x

From: Date: Mon, 13 Jun 2022 07:14:04 +0000
Subject: Re: [RFC] [Vote] Pre-vote announcement for Random Extension 5.x
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-117924@lists.php.net to get a copy of this message
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

« previous php.internals (#117924) next »