Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89943 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10425 invoked from network); 31 Dec 2015 15:53:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 31 Dec 2015 15:53:07 -0000 Authentication-Results: pb1.pair.com smtp.mail=patrick.allaert@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=patrickallaert@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.46 as permitted sender) X-PHP-List-Original-Sender: patrick.allaert@gmail.com X-Host-Fingerprint: 209.85.215.46 mail-lf0-f46.google.com Received: from [209.85.215.46] ([209.85.215.46:36369] helo=mail-lf0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/0E-51216-26F45865 for ; Thu, 31 Dec 2015 10:53:07 -0500 Received: by mail-lf0-f46.google.com with SMTP id z124so236009835lfa.3 for ; Thu, 31 Dec 2015 07:53:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-type; bh=xEHlVtstslPUi0oHjdbBYk2o5u2DsVjq5g6a2D5sDVc=; b=fp/DspO7/PL7cODgj98bxfi4SheSgsHL0QtpairCMtVqaq7OTAKoxokluY3SfKayij bwyP5ixZqp0K4m9kI/KkCZeMx5ciVDWxjXWO9Kks7CvgKGL0W+9MhQSWoPuDjwKB4Yxf Fwv/re9q7mzgj5ofy2CtoMavdzzIk194wugsRZJN7xanjK3z597mkjimzF8sl1WNk+ql W4vyN4CiIJ5ZfHfGIBDNHBJvvdO3SDq1MQjHv8HGTr2bVpj/VXGMhbJe/LfX6gofjL68 7Y9FlkhA8Ci4zA26EE+ZzzonzSHoyp8vOTnQoAMoDqHJNHMV1r9p/I72YMYhqVX3fMGD kryw== X-Received: by 10.25.137.84 with SMTP id l81mr25504669lfd.45.1451577183346; Thu, 31 Dec 2015 07:53:03 -0800 (PST) MIME-Version: 1.0 References: <56854CBE.9080201@dennis.birkholz.biz> In-Reply-To: <56854CBE.9080201@dennis.birkholz.biz> Date: Thu, 31 Dec 2015 15:52:53 +0000 Message-ID: To: Dennis Birkholz , Junade Ali , internals@lists.php.net Content-Type: multipart/alternative; boundary=001a113fc3de60ac83052833a60b Subject: Re: [PHP-DEV] Deprecation of the Error Control Operator (@ symbol) From: patrickallaert@php.net (Patrick ALLAERT) --001a113fc3de60ac83052833a60b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Le jeu. 31 d=C3=A9c. 2015 =C3=A0 16:42, Dennis Birkholz a =C3=A9crit : > 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 > As Dennis said, there is a huge work to be done before that, not that it shouldn't prevent you from doing that RFC, but this one should therefor contains a list of all prerequisites and possibly links to all RFCs yours would depend on. Cheers, Patrick --001a113fc3de60ac83052833a60b--