> (...) 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