Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80736 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82553 invoked from network); 18 Jan 2015 12:01:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2015 12:01:57 -0000 X-Host-Fingerprint: 80.177.120.119 marston-home.demon.co.uk Received: from [80.177.120.119] ([80.177.120.119:12804] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/9A-18613-4B0ABB45 for ; Sun, 18 Jan 2015 07:01:56 -0500 Message-ID: <73.9A.18613.4B0ABB45@pb1.pair.com> To: internals@lists.php.net References: <0DD30A0D-E7CA-4150-83E0-8FD46635279C@ajf.me><8761c6280g.fsf@margaine.com><54B91D16.70901@gmail.com><78.22.47555.7C24AB45@pb1.pair.com><1421519637.40188.1.camel@proposaltech.com> In-Reply-To: Date: Sun, 18 Jan 2015 12:01:52 -0000 Lines: 2 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Newsreader: Microsoft Windows Live Mail 16.4.3528.331 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3528.331 X-Posted-By: 80.177.120.119 Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: TonyMarston@hotmail.com ("Tony Marston") "Levi Morrison" wrote in message news:CAFMT4NoPoeOhGA+uoRSJRxosrh4k3eid96-jmMoQGhct8Uj9zg@mail.gmail.com... > >On Sat, Jan 17, 2015 at 11:33 AM, Todd Ruth wrote: >> On Sat, 2015-01-17 at 10:56 -0700, Levi Morrison wrote: <> >According to the PHP.net documentation on >E_STRICT(http://php.net/manual/en/migrating5.errorrep.php): > >> When enabled, messages will be issued to warn you about code usage which >> is deprecated or which may not be future-proof. > >By very definition E_STRICT warns about this kind of thing. They've >been there for *more than ten years*. But only when you use both PHP 4 and PHP 5 constructors at the same time. If a class uses ONLY the PHP 4 constructor then no message is generated at all. -- Tony Marston