Hi Sara,

Sara Golemon wrote:
On Thu, Dec 31, 2015 at 6:52 AM, Junade Ali <m...@junade.com> wrote:
I am looking to submit an RFC in order to remove the error suppression
operator in PHP, namely the @ symbol.

Forwarding a suggestion twitter/@Beryllium9:

How about a global "disable error suppression" setting?  That way a
project lead could enforce it for their codebase (and guarantee that
devs "aren't lazy"), but PHP doesn't lose its pragmatism?

I don't think that would work out too well. Remember that many projects have error handles which convert all errors to exceptions: if you disable @ in those projects, wouldn't their code break?

Thanks.
--
Andrea Faulds
https://ajf.me/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to