RE: [PHP-DEV] A different user perspective on scalar type declarations
| From: | François Laupretre | Date: | Fri, 27 Feb 2015 01:41:15 +0000 |
| Subject: | RE: [PHP-DEV] A different user perspective on scalar type declarations | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83950@lists.php.net to get a copy of this message | ||
> De : Anthony Ferrara [mailto:ircmaxell@gmail.com]
> They run without triggering E_DEPRECATED errors? Because that means
> they will break with 8 (which by your own words is closer to 2-3 years
> out than 9-10).
Absolutely no date is planned to switch E_DEPRECATED to E_RECOVERABLE_ERROR. It must be clear for
everyone that we don't have to hurry there. My personal opinion is that it cannot be before at
least 5 years, and maybe more. If I had to announce a major version, I would say 9, not 8. And no
decision will be made before we have a large consensus about it. Once again, there will be no good
reason to hurry for it.
Zeev, can't we put a sentence in the RFC where we state that the E_DEPRECATED stage cannot be
turned off before, say, 5 years at least ? Once the statement is voted with the RFC, users are
protected.
Regards
François