Hi! > > I'm assuming that you do know the difference between > E_RECOVERABLE_ERROR and E_ERROR. And the difference is not trivial... Could you please explain what is the non-trivial difference relevant to this case and how it is relevant? Could you also explain why making undefined function produce E_RECOVERABLE_ERROR would not solve it?
> But "good practice" vs "not-good-practice" shouldn't be a significant > factor, because your "good-practice" is different from In my opinion, it is the most significant factor. Good practices are very important to the language, because they are what turns the language into a community with common... well, language of expressing things. Otherwise it is just an assembly of loosely related hacks. > > Those other languages (all of them in fact) throw exceptions if the > function or method does not exist. PHP hard fatals. They Here it goes again - the exception thing. If you want to make PHP throw exceptions on errors, please write RFC on making PHP throw exceptions on errors (I have no idea how it would help you, but you are welcome to share it). Writing a different parallel typing system into PHP and linking it to duck typing in other dynamic languages which explicitly doesn't do what you claim it does and what your proposal does in not right way to approach it. Other dynamic languages - excepting Scala and couple of others, which are very unlike PHP in a lot of aspects including static typing - demonstrably do not do what you want to do. So if you say "look at other languages" - yes, we did and they call "duck typing" exactly what I described, not what you described. > So if you don't see the usefulness of this type of change, ask if you > maintain anything significant that fits that description. If you > don't, find someone who does and talk to them. Otherwise you may be > unfairly judging by ignoring problems that you personally don't have... Thank you for your advice, in my 20+ year career in software development and 10+ year career in PHP specifically I have has some experience with all kinds of problems. Now if you would like to kindly move from "you know nothing, Jon Snow" to more substantial arguments it'd be more productive. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php