Re: [RFC] [Discussion] Deprec ate functions with overloaded signatures
| From: | Rowan Tommins | Date: | Sat, 13 May 2023 10:08:02 +0000 |
| Subject: | Re: [RFC] [Discussion] Deprec ate 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-120258@lists.php.net to get a copy of this message | ||
On 13 May 2023 00:08:22 BST, Larry Garfield
>A better argument, I think:
>
>The old function exists in 8.2, the new one does not.
>The new one exists in 8.3.
>The old one ceases to exist in 9.0.
>
>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.
Yes, that line of reasoning I find more persuasive. It's why I was working out earlier which
changes could be polyfilled: it effectively extends the overlap period if it's trivial to
include a definition somewhere wrapped in function_exists.
Regards,
--
Rowan Tommins
[IMSoP]