Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89942 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8656 invoked from network); 31 Dec 2015 15:41:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Dec 2015 15:41:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@dennis.birkholz.biz; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=php@dennis.birkholz.biz; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain dennis.birkholz.biz does not designate 144.76.185.252 as permitted sender) X-PHP-List-Original-Sender: php@dennis.birkholz.biz X-Host-Fingerprint: 144.76.185.252 mx01.nexxes.net Received: from [144.76.185.252] ([144.76.185.252:41904] helo=mx01.nexxes.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/BD-51216-1CC45865 for ; Thu, 31 Dec 2015 10:41:54 -0500 Received: from [192.168.178.21] (xdsl-87-78-43-103.netcologne.de [87.78.43.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: db220660-p0g-1@packages.nexxes.net) by mx01.nexxes.net (Postfix) with ESMTPSA id 6E768482473; Thu, 31 Dec 2015 16:41:50 +0100 (CET) To: Junade Ali , internals@lists.php.net References: Message-ID: <56854CBE.9080201@dennis.birkholz.biz> Date: Thu, 31 Dec 2015 16:41:50 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Deprecation of the Error Control Operator (@ symbol) From: php@dennis.birkholz.biz (Dennis Birkholz) Hi all, Am 31.12.2015 um 15:52 schrieb Junade Ali: > I am looking to submit an RFC in order to remove the error suppression > operator in PHP, namely the @ symbol. before you can deprecate the @ operator, there is a lot of work to do beforehand. A lot of functions print warnings when they fail (in addition to returning false). All these warnings have to be removed and put into the matching error()/errno() functions. Before that there is no way to remove the @ operator. Otherwise you have to disable error reporting for warnings and that would be far worse than usage of @ currently is. Greets Dennis