Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:90083 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58131 invoked from network); 5 Jan 2016 10:56:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jan 2016 10:56:47 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.113.146.227 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.113.146.227 xdebug.org Linux 2.6 Received: from [82.113.146.227] ([82.113.146.227:59001] helo=xdebug.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1E/0B-24214-E61AB865 for ; Tue, 05 Jan 2016 05:56:46 -0500 Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id 7FD01E20F0; Tue, 5 Jan 2016 10:56:42 +0000 (GMT) Date: Tue, 5 Jan 2016 10:56:41 +0000 (GMT) X-X-Sender: derick@whisky.home.derickrethans.nl To: Michael Heap cc: Sara Golemon , Junade Ali , PHP internals In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [PHP-DEV] Deprecation of the Error Control Operator (@ symbol) From: derick@php.net (Derick Rethans) On Tue, 5 Jan 2016, Michael Heap wrote: > > On Tue, Jan 5, 2016 at 5:45 AM, Sara Golemon wrote: > > > On Thu, Dec 31, 2015 at 6:52 AM, Junade Ali 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? > Sounds like the xdebug.scream or the Scream PECL extension ( > https://pecl.php.net/package/scream) to me. > > +1 for baking this functionality into core That's going to mean an INI setting.. that hosters could abuse. Having an INI setting like this as part of core is IMO not a great idea. cheers, Derick -- http://derickrethans.nl | http://xdebug.org Like Xdebug? Consider a donation: http://xdebug.org/donate.php twitter: @derickr and @xdebug Posted with an email client that doesn't mangle email: alpine