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/
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php