Re: Re: Don't silence fatal errors
| From: | Stanislav Malyshev | Date: | Sun, 02 Dec 2018 23:19:39 +0000 |
| Subject: | Re: Re: Don't silence fatal errors | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103542@lists.php.net to get a copy of this message | ||
Hi!
> It's always been bizarre to me that @ can silence fatal errors, which
> has no practical application and makes using @ to silence a lower-level
> error potentially hszardous if its targeted function can also produce a
> fatal error.
Yes, silencing something that kills the script is probably not a very
great idea. It can have some BC effects if this is a part of larger
environments where outgoing messages are tracked, but I think it's a
worthy price to pay for making it more sensible.
This won't fix WSOD problem by itself, but probably will make WSODs a
little less annoying to debug. Which is a win in my book.
--
Stas Malyshev
smalyshev@gmail.com