Re: [RFC] Exceptions in the engine
| From: | Rowan Collins | Date: | Wed, 25 Feb 2015 15:10:16 +0000 |
| Subject: | Re: [RFC] Exceptions in the engine | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-83794@lists.php.net to get a copy of this message | ||
Dmitry Stogov wrote on 25/02/2015 14:07:
No. The proposal is only about fatal engine errors, like "Fatal Error: Call to undefined function %s()". Instead of script termination they will throw exceptions. fopen() won't be touched at all. It's out of scope of proposal.Hi Dmitry, I was responding to a sub-thread where Tony Marston was requesting it be extended to other scenarios, and explaining why the idea of changing behaviour based on context would not work. I agree that the current proposal, for fatal errors only, does not constitute a significant BC break, particularly if the BaseException superclass is added. Regards, -- Rowan Collins [IMSoP]