On 05/07/2021 11:46, Patrick ALLAERT wrote:
Did we ever deprecated something without the immediate intention of removing it?
What would that even mean? Surely a deprecation, by definition, is a notice that something is going to be removed.
There used to be an E_STRICT category, which expressed a rather vague "you probably shouldn't do this", but I'm not sure who it really helped.
If you want to encourage people to use alternatives to strftime() but not remove it, here are some more productive steps:
* Improve the strftime() documentation to point out what those alternatives are, and why they're better * Improve the documentation of those alternatives with examples of the things that strftime() is commonly used for * Improve those alternatives themselves so that they're as easy to use as strftime()
Regards, -- Rowan Tommins [IMSoP] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php