Re: Re: Fatal errors
| From: | Michael Walter | Date: | Thu, 10 Aug 2006 11:05:33 +0000 |
| Subject: | Re: Re: Fatal errors | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25283@lists.php.net to get a copy of this message | ||
That doesn't justify the error being non-recoverable, though.
Regards,
Michael
On 8/10/06, Lukas Kahwe Smith <lsmith@php.net> wrote:
Pierre wrote: Hello, On 8/10/06, Michael Walter <michael.walter@gmail.com> wrote:Why object should act differently than other php variables or constants? Undefined constant, variable, index or offset do not raise a fatal error. It should be the same for the object (constants, props, visibility,...). Well for privat variables it is kind of different in that someone specifically said "this variable/property exists, but you may only access is from inside and not from the outside". regards, LukasYeah. It is problematic that the application has no chance of dealing with the errors itself (consider e.g. php-shell which has to go great lengths to prevent fatal errors from user code leading to php-shell's termination, and still fails at doing this in the general case).