Re: [RFC] Strict operators directive
| From: | Benjamin Morel | Date: | Wed, 26 Jun 2019 09:36:13 +0000 |
| Subject: | Re: [RFC] Strict operators directive | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-106069@lists.php.net to get a copy of this message | ||
> (...) could be the case depending on a declaration somewhere else in the
source code.
> That's the confusion Claude and I were talking about: You cannot be sure
what a very simple line of code does.
Oh, I see. You mean that only replacing some of the current results with
TypeErrors would be acceptable; returning a different value would not.
This makes a lot of sense, but once again prevents the language from slowly
moving towards something different (and better), leaving it stuck in its
legacy forever.
I'm starting to believe that a joint effort to fork PHP if the only way out
:(
Ben