Re: [PHP-DEV] Proposal: Arbitrary precision native scalar type

2023-12-13 Thread Alexander Pravdin
On Wed, Dec 13, 2023 at 6:11 PM Robert Landers 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

Re: [PHP-DEV] Proposal: Arbitrary precision native scalar type

2023-12-13 Thread Robert Landers
On Wed, Dec 13, 2023 at 9:37 AM Stephen Reay wrote: > > > > > On 7 Dec 2023, at 13:36, Alex Pravdin wrote: > > > > Hello internals, > > > > > > This is the second round of the discussion regarding arbitrary precision > > scalar type integration into PHP. The previous part: > > https://marc.info

Re: [PHP-DEV] Proposal: Arbitrary precision native scalar type

2023-12-13 Thread Stephen Reay
> On 7 Dec 2023, at 13:36, Alex Pravdin wrote: > > Hello internals, > > > This is the second round of the discussion regarding arbitrary precision > scalar type integration into PHP. The previous part: > https://marc.info/?l=php-internals&m=168250492216838&w=2 was initiated by me > before