Re: [PHP-DEV] RFC [Discussion]: Closure self-reference

2023-06-04 Thread Alexandru Pătrănescu
On Sat, Jun 3, 2023, 21:11 Dan Ackroyd wrote: > Hi internals, > > I'm now opening the discussion for the Closure self-reference RFC: > https://wiki.php.net/rfc/closure_self_reference > > This was previously discussed as a draft here: > https://externals.io/message/112216#112216 > > Thank-you to K

[PHP-DEV] RFC Karma Request: deprecation of ISO_8601 constants

2023-06-04 Thread Jorg Sowa
Hello, I would like to request for RFC Karma. I want to create RFC for deprecation of constants ISO_8601. My wiki account is jorg_sowa. Kind regards, Jorg

Re: [PHP-DEV] RFC [Discussion]: Marking overridden methods (#[\Override])

2023-06-04 Thread Rowan Tommins
On 4 June 2023 15:12:29 BST, "Tim Düsterhus" wrote: >It's anecdata, but the attribute would have saved me debugging effort several >times in the past year - that's the whole reason I'm proposing it. It also >saved me time in other language that have the feature already built-in. Fair enough. I

Re: [PHP-DEV] RFC [Discussion]: Marking overridden methods (#[\Override])

2023-06-04 Thread Tim Düsterhus
Hi On 5/30/23 14:17, Rowan Tommins wrote: On 29/05/2023 19:29, Tim Düsterhus wrote: I think this is a flawed premise: Any sort of analysis that PHP itself performs can also be performed in userland. This isn't actually true. There is a lot of dynamic functionality in PHP where correctness ca

Re: [PHP-DEV] [RFC] [Discussion] Deprecate functions with overloaded signatures

2023-06-04 Thread Rowan Tommins
On 2 June 2023 14:21:49 BST, "Máté Kocsis" wrote: >I hope that I don't sound elitist, but codebases not using static >analysis... are kind of hopeless... Then I guess we should just pack up and go home, because right now PHP doesn't even have an official static analyser, let alone a mandatory o

Re: [PHP-DEV] RFC [Discussion]: Marking overridden methods (#[\Override])

2023-06-04 Thread Tim Düsterhus
Hi On 5/29/23 21:34, Claude Pache wrote: One weakness of the proposal, is that there is no notice when a method without #[\Override] annotation accidentally overrides a parent method. This is necessary for the sake of BC, of course. Therefore, (inspired by the --noImplicitOverride flag of Typ

Re: [PHP-DEV] [RFC] [Discussion] Deprecate functions with overloaded signatures

2023-06-04 Thread Rowan Tommins
On 17 May 2023 08:35:18 BST, "Máté Kocsis" wrote: >Particularly, I have been wondering for a long time, why the original >function includes "save_handler" in its name? >The passed in handlers are not just "save", but also other kinds of >handlers (e.g. "read"). So I'm considering to use >somethin

[PHP-DEV] Re: RFC [Discussion]: mb_str_pad

2023-06-04 Thread Niels Dossche
Hi internals I haven't seen more discussion for some time now. I plan on starting the vote tomorrow evening 20:00 GMT+2, and to end it on June 19 20:00 GMT+2. Any final comments should be raised now. Kind regards Niels -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, vis

Re: [PHP-DEV] RFC [Discussion]: Closure self-reference

2023-06-04 Thread Juliette Reinders Folmer
On 3-6-2023 21:11, Dan Ackroyd wrote: Hi internals, I'm now opening the discussion for the Closure self-reference RFC: https://wiki.php.net/rfc/closure_self_reference This was previously discussed as a draft here: https://externals.io/message/112216#112216 Thank-you to KapitanOczywisty for the