[PHP-DEV] Supporting object types in BCMath

2024-03-15 Thread Saki Takamachi
Hi internals, BCMath currently only has procedural functions. This is a bit unwieldy for some design patterns and I came up with the idea of ​​supporting object types like mysqli. Yet another idea is to also support immutable objects, like DateTime. e.g. ``` $num1 = new BcNum('1.235');

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-15 Thread Larry Garfield
On Fri, Mar 15, 2024, at 11:25 PM, Rowan Tommins [IMSoP] wrote: > On 15 March 2024 17:11:29 GMT, Larry Garfield wrote: >>On Wed, Mar 13, 2024, at 10:26 PM, Rowan Tommins [IMSoP] wrote: >>> I think it would be more helpful to justify this design on its own >>> merits, particularly because it's a

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-15 Thread Rowan Tommins [IMSoP]
On 15 March 2024 17:11:29 GMT, Larry Garfield wrote: >On Wed, Mar 13, 2024, at 10:26 PM, Rowan Tommins [IMSoP] wrote: >> I think it would be more helpful to justify this design on its own >> merits, particularly because it's a significant difference from other >> languages (which either

Re: [PHP-DEV] is this thing on?

2024-03-15 Thread Peter Kokot
On Tue, 5 Mar 2024 at 01:27, wrote: > > > The VSC part from github (hosting our code), can very easily be ported. > > Issues, discussions etc can not. > > > > With the ongoing enshittification of most of the Internet due to > > advertising and tracking, we'd be negligent not hosting and owning

Re: [PHP-DEV] [RFC[ Property accessor hooks, take 2

2024-03-15 Thread Larry Garfield
On Wed, Mar 13, 2024, at 10:26 PM, Rowan Tommins [IMSoP] wrote: > On 12/03/2024 22:43, Larry Garfield wrote: >> It's slightly different, yes. The point is that the special behavior of a >> hook is disabled if you are within the call stack of a hook, just like the >> special behavior of

Re: [PHP-DEV] base64_encode without padding

2024-03-15 Thread Robert Landers
On Fri, Mar 15, 2024 at 9:34 AM Remi Collet wrote: > Le 14/03/2024 à 21:31, Yasuo Ohgaki a écrit : > > > Please add PHP_BASE64_URL flag also. > > This is another feature, out of the scope of this PR > > > Remi > Perhaps you should consider it? Base64 "just without" padding isn't really a

Re: [PHP-DEV] base64_encode without padding

2024-03-15 Thread Remi Collet
Le 14/03/2024 à 21:31, Yasuo Ohgaki a écrit : Please add PHP_BASE64_URL flag also. This is another feature, out of the scope of this PR Remi