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

From: Date: Tue, 05 Jan 2016 05:50:41 +0000
Subject: Re: Deprecation of the Error Control Operator (@ symbol)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-90070@lists.php.net to get a copy of this message
On Mon, Jan 4, 2016 at 9:45 PM, Sara Golemon <pollita@php.net> 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? > And to add to that, we have mechanisms to allow settings to be dialed one way but not another, so this could be made so that you can always re-enable suppressed errors, but you can never re-hide them. (open_basedir does something similar) -Sara

« previous php.internals (#90070) next »