Re: PHP 4.0 Bug #5601: @function() should not turn oferror reporting for critical errors
| From: | Hartmut Holzgraefe | Date: | Fri, 14 Jul 2000 14:24:35 +0000 |
| Subject: | Re: PHP 4.0 Bug #5601: @function() should not turn oferror reporting for critical errors | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24533@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
>
> The whole point of @ is to swallow those errors and not expose them to the
> remote user. If you are using @ you are basically telling PHP you will
> check the errors yourself.
yes, but on certain errors, especially "undefined function",
PHP will terminate execution so that i get no chance to
check for the error myself
and finding an error in a script that doesn't return anything
("document contains no data" and no error message at all)
is no fun, at least as long as there's no debugger beyond
the level of printf ...
--
Hartmut Holzgraefe
hartmut@six.de http://www.six.de +49-711-99091-62 fax:-99