Re: [PHP-DEV] Consider removing autogenerated files from tarballs

2024-03-29 Thread Ben Ramsey
On Mar 29, 2024, at 20:20, Bob Weinand wrote: On 29.3.2024 23:31:26, Daniil Gentili wrote: In light of the recent supply chain attack in xz/lzma, leading to a backdoor in openSSH

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread Morgan
On 2024-03-30 13:06, 하늘아부지 wrote: Even currently, `__callStatic` is called in cases of non-static methods that are not public methods. `__callStatic` already acts as a rule-breaker. I think the problem here is a confusion based on the idea that there is necessarily some direct

Re: [PHP-DEV] [RFC] [Discussion] Support object type in BCMath

2024-03-29 Thread Jordan LeDoux
On Wed, Mar 27, 2024 at 12:08 AM Aleksander Machniak wrote: > On 27.03.2024 01:03, Saki Takamachi wrote: > >> $num = new BcNum('1.23', 2); > >> $result = $num + '1.23456'; > >> $result->value; // '2.46456' > >> $result->scale; // ?? > > > > In this case, `$result->scale` will be `'5'`. I added

Re: [PHP-DEV] Consider removing autogenerated files from tarballs

2024-03-29 Thread Bob Weinand
On 29.3.2024 23:31:26, Daniil Gentili wrote: In light of the recent supply chain attack in xz/lzma, leading to a backdoor in openSSH (https://www.openwall.com/lists/oss-security/2024/03/29/4), I believe that it would be a good idea to remove the huge attack surface offered by the

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread 하늘아부지
2024년 3월 30일 (토) 오전 2:15, Robert Landers 님이 작성: > On Fri, Mar 29, 2024 at 3:41 AM 하늘아부지 wrote: > > > > Hello. > > > > I created a wiki for __callStatic related issues. > > Please see: > > https://wiki.php.net/rfc/complete_callstatc_magic > > > > I look forward to your interest and advice. > > >

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread 하늘아부지
2024년 3월 30일 (토) 오전 1:21, Larry Garfield 님이 작성: > On Fri, Mar 29, 2024, at 3:33 PM, 하늘아부지 wrote: > > 2024년 3월 29일 (금) 오후 10:21, Larry Garfield 님이 작성: > >> On Fri, Mar 29, 2024, at 2:39 AM, 하늘아부지 wrote: > >> > Hello. > >> > > >> > I created a wiki for __callStatic related issues. > >> > Please

[PHP-DEV] Consider removing autogenerated files from tarballs

2024-03-29 Thread Daniil Gentili
In light of the recent supply chain attack in xz/lzma, leading to a backdoor in openSSH (https://www.openwall.com/lists/oss-security/2024/03/29/4), I believe that it would be a good idea to remove the huge attack surface offered by the pre-generated autoconf build scripts and lexers, offered in

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread Robert Landers
On Fri, Mar 29, 2024 at 3:41 AM 하늘아부지 wrote: > > Hello. > > I created a wiki for __callStatic related issues. > Please see: > https://wiki.php.net/rfc/complete_callstatc_magic > > I look forward to your interest and advice. > > Best Regards. > Daddyofsky Hey there, Some general feedback: The

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread Aleksander Machniak
On 29.03.2024 14:03, Larry Garfield wrote: On the contrary, I would favor going the other direction: Calling a static method as though it were non-static currently works, and I would support making that an error, to further emphasize that static and non-static methods are not interchangeable.

Re: [PHP-DEV] [RFC] Release cycle update, take #2

2024-03-29 Thread Derick Rethans
On Fri, 22 Mar 2024, Morgan wrote: > On 2024-03-22 08:19, Jim Winstead wrote: > > On Thu, Mar 21, 2024, at 10:54 AM, Derick Rethans wrote: > > > > > > The RFC is at https://wiki.php.net/rfc/release_cycle_update > > > > Could this RFC also be a good time to clarify what sort of BC changes are >

Re: [PHP-DEV] [RFC] Release cycle update, take #2

2024-03-29 Thread Derick Rethans
On Thu, 21 Mar 2024, Jim Winstead wrote: > On Thu, Mar 21, 2024, at 10:54 AM, Derick Rethans wrote: > > Hi! > > > > On Fri, 10 Nov 2023, Jakub Zelenka wrote: > > > >> I would like to propose a new process RFC for updates to PHP release > >> cycle: > >> > >>

Re: [PHP-DEV] [RFC] Release cycle update, take #2

2024-03-29 Thread Derick Rethans
On Thu, 21 Mar 2024, Daniil Gentili wrote: > >> I would like to propose a new process RFC for updates to PHP release > >> cycle: > >> > >> https://wiki.php.net/rfc/release_cycle_update > > I would also like to propose an addition, allowing patch releases to > be made outside of the normal

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread Larry Garfield
On Fri, Mar 29, 2024, at 3:33 PM, 하늘아부지 wrote: > 2024년 3월 29일 (금) 오후 10:21, Larry Garfield 님이 작성: >> On Fri, Mar 29, 2024, at 2:39 AM, 하늘아부지 wrote: >> > Hello. >> > >> > I created a wiki for __callStatic related issues. >> > Please see: >> > https://wiki.php.net/rfc/complete_callstatc_magic >> > I

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread 하늘아부지
2024년 3월 29일 (금) 오후 10:21, Larry Garfield 님이 작성: > On Fri, Mar 29, 2024, at 2:39 AM, 하늘아부지 wrote: > > Hello. > > > > I created a wiki for __callStatic related issues. > > Please see: > > https://wiki.php.net/rfc/complete_callstatc_magic > > I look forward to your interest and advice. > > I am

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread Larry Garfield
On Fri, Mar 29, 2024, at 2:39 AM, 하늘아부지 wrote: > Hello. > > I created a wiki for __callStatic related issues. > Please see: > https://wiki.php.net/rfc/complete_callstatc_magic > I look forward to your interest and advice. I am firmly against this proposal. I think my objection boils down to this

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread 하늘아부지
2024년 3월 29일 (금) 오후 5:43, Stéphane Hulard 님이 작성: > Le vendredi 29 mars 2024 à 03:39, 하늘아부지 a écrit : > > > Hello. > > > > > I created a wiki for __callStatic related issues. > > Please see: > > https://wiki.php.net/rfc/complete_callstatc_magic > > > > > I look forward to your interest and

Re: [PHP-DEV] [RFC] Invoke __callStatic when non-static public methods are called statically

2024-03-29 Thread Stéphane Hulard
Le vendredi 29 mars 2024 à 03:39, 하늘아부지 a écrit : > Hello. > > I created a wiki for __callStatic related issues. > Please see: > https://wiki.php.net/rfc/complete_callstatc_magic > > I look forward to your interest and advice. > > Best Regards. > Daddyofsky Hello ! I took a look at your