Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:82541 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95690 invoked from network); 12 Feb 2015 14:56:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2015 14:56:17 -0000 Authentication-Results: pb1.pair.com header.from=francois@tekwire.net; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=francois@tekwire.net; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain tekwire.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@tekwire.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:22511] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/78-50473-01FBCD45 for ; Thu, 12 Feb 2015 09:56:17 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 604AD4B023C; Thu, 12 Feb 2015 15:56:05 +0100 (CET) Reply-To: To: "'Nikita Popov'" , "'PHP internals'" References: In-Reply-To: Date: Thu, 12 Feb 2015 15:56:04 +0100 Message-ID: <006b01d046d4$0674e6c0$135eb440$@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQFJGqheNJ7QRmR5U5K45bC/5404AZ37cVUA Content-Language: fr X-Antivirus: avast! (VPS 150212-0, 12/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] Remove $this from incompatible context From: francois@tekwire.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Nikita Popov [mailto:nikita.ppv@gmail.com] > > class B { > function test2() { > A::test(); // Throws E_DEPRECATED > // Followed by E_NOTICE for undefined $this variable > } > } Sorry to get off-topic but could we raise the 'undefined variable' error = to E_WARNING, at least ? E_NOTICE seems very low for such an error. Otherwise, +1 for your proposal. It's much better. Regards Fran=C3=A7ois