Re: [PHP-DEV] [RFC] [Discussion] Clone with

2023-06-12 Thread Levi Morrison via internals
On Mon, Apr 17, 2023 at 12:32 AM Máté Kocsis wrote: > > Hi Everyone, > > Quite some time after mentioning the "clone with" construct the first time > (at the end of the > https://wiki.php.net/rfc/write_once_properties#run-time_behaviour section), > finally I managed to create a working implementat

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

2023-06-12 Thread Tim Düsterhus
Hi On 5/11/23 18:37, Tim Düsterhus wrote: I'm now opening discussion for the RFC "Marking overridden methods (#[\Override])": RFC: Marking overridden methods (#[\Override]) https://wiki.php.net/rfc/marking_overriden_methods Proof of concept implementation is in: https://github.com/php/p

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

2023-06-12 Thread Rowan Tommins
On Sat, 10 Jun 2023 at 08:40, Máté Kocsis wrote: > In the meanwhile, I noticed yet another overloaded function (dba_fetch()) > and I included it into the proposal. In my opinion, it's a no-brainer > to deprecate due to its low adoption rate and very odd behavior - to say at > least. > It looks