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

From: Date: Mon, 19 Jun 2023 20:33:03 +0000
Subject: Re: Fwd: [PHP-DEV] [RFC] [Discussion] Deprecate functions with overloaded signatures
References: 1 2 3 4 5 6 7 8 9 10 11 12  Groups: php.internals 
Request: Send a blank email to internals+get-120624@lists.php.net to get a copy of this message
On 19/06/2023 21:17, Nicolas Grekas wrote:
I think we must account for a bit of history/legacy on the topic. I think session_set_save_handler(SessionHandlerInterface) is the best BC/FC path we can provide.
Can you elaborate? The SessionHandlerInterface is the *newer* of the two current signatures, so what does making it the preferred signature (with users of the other having to change their code) have to do with "history/legacy"? Regards, -- Rowan Tommins [IMSoP]

« previous php.internals (#120624) next »