Re: [RFC] Reclassifying engine warnings
| From: | Claude Pache | Date: | Thu, 29 Aug 2019 17:15:09 +0000 |
| Subject: | Re: [RFC] Reclassifying engine warnings | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106805@lists.php.net to get a copy of this message | ||
> Le 29 août 2019 à 18:25, Aegir Leet <aegir@aegir.sexy> a écrit :
>
> Either way, if you want a less strict language, that language already
> exists: It's the current version of PHP and you and everyone else who
> likes the way it works can keep using it.
> Meanwhile, I think most people currently doing serious PHP work would
> *love* some more strictness and I don't think keeping your old code
> running on a brand new version of the language is a good enough reason
> to keep this feature out of 8.0.
Strictness is undoubtedly a good thing — as a tool, not as a dogma. But BC break is not necessary
for more strictness. As of today, you can write a custom error-handler that converts all non-handled
warnings into program crashes (after having sent a fiery bug report to the developer).
—Claude