Re: Deprecation of the Error Control Operator (@ symbol)
| From: | Andrea Faulds | Date: | Tue, 05 Jan 2016 02:18:04 +0000 |
| Subject: | Re: Deprecation of the Error Control Operator (@ symbol) | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-90039@lists.php.net to get a copy of this message | ||
Hi Bishop,
Bishop Bettini wrote:
I am -1 on removing @ for 7.x series. But, I would be in favor of all changes that remove unnecessary error messages or add functionality to better work with error messages. In my mind, those are requisite steps before removing @.I agree here. It'd be nice if we could somehow catch errors in the same way we can with exception, but we don't have this just now. Problem is a I can't think of a non-messy way to make this work, at least not without going through every PHP extension and adding an identifier for different errors. One improvement, though, might be an @ equivalent that only silences a certain level of error. It's still too broad, but it's nonetheless better than the silence-all we have now. Thanks. -- Andrea Faulds https://ajf.me/