Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81288 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4226 invoked from network); 28 Jan 2015 07:20:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2015 07:20:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.174 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.212.174 mail-wi0-f174.google.com Received: from [209.85.212.174] ([209.85.212.174:38785] helo=mail-wi0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8C/99-45774-6DD88C45 for ; Wed, 28 Jan 2015 02:20:55 -0500 Received: by mail-wi0-f174.google.com with SMTP id n3so9765341wiv.1 for ; Tue, 27 Jan 2015 23:20:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TqgbF6a+Dm+q/wivydL/TC1UFvAw1SqUQAatKmIxsLs=; b=gZpKaWNdRcYWfCKngaAIXw01XK1WSQZjcTbdfyzwgUQMYbiD2MBtLxWXWW0jvV3XC9 6qLOlyNvumD/CpDTzbybTvJK7g6k5Aifjnk7IBJCEN4wxPtUYl7/d0UNY5tHU/xEtX1Z YICUvqTF0YwbMUg0+Iyy6FZZdHL0YDXDBI17rCYTmSICNbV6J9Mmmx5pnn0kPQdDirKS icEnIi3bGguwQfo/77h94bs+wMEVTVEZKKxxRL1upxWaaEOU6RKknHRo+ynfrLTWpfH3 vi0GAEH7l2i4YDuO1ydZZX2cCgfRhqS8W76QpTYFbHyD3nw4783knnaMGgweH3PZrsVp Ehpg== MIME-Version: 1.0 X-Received: by 10.194.172.35 with SMTP id az3mr4134778wjc.43.1422429650061; Tue, 27 Jan 2015 23:20:50 -0800 (PST) Received: by 10.180.88.33 with HTTP; Tue, 27 Jan 2015 23:20:50 -0800 (PST) Received: by 10.180.88.33 with HTTP; Tue, 27 Jan 2015 23:20:50 -0800 (PST) In-Reply-To: <011d01d03ab7$dd725c30$98571490$@tekwire.net> References: <54C80F4F.7020905@gmail.com> <011d01d03ab7$dd725c30$98571490$@tekwire.net> Date: Wed, 28 Jan 2015 08:20:50 +0100 Message-ID: To: francois@tekwire.net Cc: PHP Internals , Rowan Collins Content-Type: multipart/alternative; boundary=089e0122e8b6029268050db136d2 Subject: RE: [PHP-DEV] Proposal: Raise severity of undefined constants From: tyra3l@gmail.com (Ferenc Kovacs) --089e0122e8b6029268050db136d2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 2015.01.28. 6:04 ezt =C3=ADrta ("Fran=C3=A7ois Laupretre" ): > > > De : Rowan Collins [mailto:rowan.collins@gmail.com] > > I would like to propose that the error given for an undefined constant > > should be raised from E_NOTICE, probably to E_RECOVERABLE_ERROR, in > > PHP 7. > > +1 > I don't like that. Depending if we want to keep the behavior on the long term I would either go with E_WARNING or E_DEPRECATED Turning it into E_RECOVERABLE_ERROR would be for most users just as bad as removing it while we still have to support the behavior so no real gain for us. --089e0122e8b6029268050db136d2--