Re: Fatal errors
| From: | Pierre | Date: | Thu, 10 Aug 2006 14:45:54 +0000 |
| Subject: | Re: Fatal errors | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25293@lists.php.net to get a copy of this message | ||
Hello,
On 8/10/06, Derick Rethans <derick@php.net> wrote:
On Thu, 10 Aug 2006, Ilia Alshanetsky wrote: On 10-Aug-06, at 9:35 AM, Michael Walter wrote:Ok, I repeat again what I said, please *read*: <?php error_reporting(E_ALL); class foo{const bar=2; } echo foo::bar2; ?> It has nothing to do with undefined function or method. Having a fatal error here is insane. --PierreWhat do you feel is incorrect about allowing mentioned errors to be handled in userspace?My feeling is that errors such as visibility violations should be addressed during debugging and Q&A phase where simple error logging will be sufficient to track them. And I feel this is even more true for calling undefined functions or methods...