Re: [PHP-DEV] Re: Proposal: Arbitrary precision native scalar type
Gina P. Banyard On Tue, 12 Dec 2023 at 08:51, Alexander Pravdin wrote: > I just found out that under PHP 8.3, basic arithmetic operations on the > Decimal object variables are no longer supported and cause TypeError. So > this is one more point to implementing native decimals in PHP. > This is either a bug in the extension or a bug in PHP 8.3 (which I doubt) but I will have a look at this. Gina P. Banyard
[PHP-DEV] Re: Proposal: Arbitrary precision native scalar type
On Thu, Dec 7, 2023 at 3:36 PM Alex Pravdin wrote: Ext-decimal: > ... > - Workaround: implements the Decimal class that allows basic regular math > operations. > I just found out that under PHP 8.3, basic arithmetic operations on the Decimal object variables are no longer supported and cause TypeError. So this is one more point to implementing native decimals in PHP. Best, Alex