Re: Deprecation of the Error Control Operator (@ symbol)

From: Date: Tue, 05 Jan 2016 17:37:01 +0000
Subject: Re: Deprecation of the Error Control Operator (@ symbol)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-90114@lists.php.net to get a copy of this message
Hi Sara, Sara Golemon wrote:
On Thu, Dec 31, 2015 at 6:52 AM, Junade Ali <mjsa@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/

« previous php.internals (#90114) next »