Re: [RFC] [Discussion] Support object type in BCMath
| From: | Saki Takamachi | Date: | Tue, 26 Mar 2024 14:50:46 +0000 |
| Subject: | Re: [RFC] [Discussion] Support object type in BCMath | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122756@lists.php.net to get a copy of this message | ||
Hi Larry,
> Global mode settings are an anti-pattern in most cases. Please avoid those whenever possible,
> as they lead to unpredictable behavior.
Yes, that's right.
BCMath has an existing global setting, so I was wondering if it was something I could ignore. But
that means there's no reason to use global settings other than "they exist in existing
implementations"…
Okay, regarding the existing global setting, I decided not to support it with BcNum.
Regards.
Saki