Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79029 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43771 invoked from network); 20 Nov 2014 09:43:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2014 09:43:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Received-SPF: error (pb1.pair.com: domain schlueters.de from 217.114.215.10 cause and error) X-PHP-List-Original-Sender: johannes@schlueters.de X-Host-Fingerprint: 217.114.215.10 mail.experimentalworks.net Received: from [217.114.215.10] ([217.114.215.10:41788] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7E/15-14967-AD7BD645 for ; Thu, 20 Nov 2014 04:43:55 -0500 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 9F678474F1; Thu, 20 Nov 2014 10:44:10 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on km31408.keymachine.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.2 X-Spam-HAM-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP Received: from [192.168.178.73] (p5DCBD6B1.dip0.t-ipconnect.de [93.203.214.177]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: johannes@schlueters.de) by mail.experimentalworks.net (Postfix) with ESMTPSA id ED96C474F1; Thu, 20 Nov 2014 10:44:08 +0100 (CET) Message-ID: <1416476628.15061.4.camel@kuechenschabe> To: Alain Williams Cc: internals@lists.php.net Date: Thu, 20 Nov 2014 10:43:48 +0100 In-Reply-To: <20141119143329.GX2294@phcomp.co.uk> References: <546C9E22.6090301@fedoraproject.org> <20141119134632.GV2294@phcomp.co.uk> <546CA8C0.1060707@gmail.com> <20141119143329.GX2294@phcomp.co.uk> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: johannes@schlueters.de (Johannes =?ISO-8859-1?Q?Schl=FCter?=) On Wed, 2014-11-19 at 14:33 +0000, Alain Williams wrote: > How many servers are stuck on PHP 4 ? > > Of those 'stuck' servers, how many have applications still under active > development ? > > The point is: how many people would get annoyed if PEAR stopped supporting PHP 4 ? The point about breaking this is *not* PHP 4 compatibility but compatibility between PECL packages. The name of the constructor method is part of the API. Think about code like this in module A: class A_class { function A_class() { } } and then module B extending this: class B_class extends A_class { function B_class() { A_class(); } } I also wonder how Andrea's tool handles more indirect cases (C_class extends B_class, while B_class has no ctor so C_class calls directly A_class's ctor) So I'm -1 on this. johannes