Re: [RFC] [Discussion] Deprecate functions with overloaded signatures
| From: | Dan Ackroyd | Date: | Tue, 16 May 2023 12:30:33 +0000 |
| Subject: | Re: [RFC] [Discussion] Deprecate functions with overloaded signatures | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-120311@lists.php.net to get a copy of this message | ||
On Sat, 13 May 2023 at 00:08, Larry Garfield <larry@garfieldtech.com> wrote:
>
> That means it's impossible to write code that works from 8.2 to 9.0 without version
> checks. The overlap period is only 2 releases (8.3 and 8.4). That's too short of a window.
That it is too short, is an opinion.
Having one version where both the old version of the function, and the
new version work is the minimum (imo) as it allows people to run the
same code on both. But anything more than that is a nicety, not a
requirement. Also, in my opinion.
cheers
Dan
Ack