Re: Proposal: Arbitrary precision native scalar type
| From: | Alexander Pravdin | Date: | Wed, 13 Dec 2023 09:29:26 +0000 |
| Subject: | Re: Proposal: Arbitrary precision native scalar type | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122001@lists.php.net to get a copy of this message | ||
On Wed, Dec 13, 2023 at 6:11 PM Robert Landers <landers.robert@gmail.com>
wrote:
I just ran
apt install php8.3-decimal and tried this:
>
> $a = new Decimal\Decimal("1", 2);
> $b = $a + $a;
> PHP Warning: Uncaught TypeError: Unsupported operand types:
> Decimal\Decimal + Decimal\Decimal in
>
> So, it appears not.
>
I've pointed out this issue earlier in the discussion and Gina P. Banyard
has replied that this can be a PHP 8.3 bug and he will look into it.
BTW, my main concern is that this amazing extension doesn't look like it is
actively maintained and I'm worrying if I will be able to maintain my
projects that depend on it in the future.
Best,
Alex