Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79044 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2126 invoked from network); 20 Nov 2014 17:00:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2014 17:00:33 -0000 Authentication-Results: pb1.pair.com header.from=johannes@schlueters.de; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=johannes@schlueters.de; spf=permerror; 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:43623] helo=mail.experimentalworks.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CA/9D-14967-03E1E645 for ; Thu, 20 Nov 2014 12:00:33 -0500 Received: by mail.experimentalworks.net (Postfix, from userid 1003) id 57CA547521; Thu, 20 Nov 2014 18:00:49 +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 DE19947520; Thu, 20 Nov 2014 18:00:39 +0100 (CET) Message-ID: <1416502819.15061.38.camel@kuechenschabe> To: Levi Morrison Cc: Alain Williams , internals Date: Thu, 20 Nov 2014 18:00:19 +0100 In-Reply-To: References: <546C9E22.6090301@fedoraproject.org> <20141119134632.GV2294@phcomp.co.uk> <546CA8C0.1060707@gmail.com> <20141119143329.GX2294@phcomp.co.uk> <1416476628.15061.4.camel@kuechenschabe> 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 Thu, 2014-11-20 at 09:11 -0700, Levi Morrison wrote: > > So I'm -1 on this. > > I just want to make sure I understand you correctly: you are saying > you are voting no on this RFC because a tool, which is not part of > this RFC but we kindly provide, doesn't detect when a certain thing is > called? It is a non-trivial change. Fixing this is not always as some people might suggest. If we like it or not there is tons of code out there depending on this feature. Breaking code, which worked for 15 years, where we even distribute such code in our main distribution (pear.phar is full of it) is not an option. And it is not only PHP - just looked at wordpress and there are quite a few classes in there where PHP 4 style ctors are used.and which aren't marked final/public and as such are part of the API, meaning that WP modules might depend on that. Consequence there is that once the feature is removed WP users need a new major WP version and new versions of modules before they can upgrade. This will lead to very slow adoption of a new PHP version. We can deprecate it in 7 (and fix code in our distribution) and then take a next step in a later version, though. This gives folks like WP time to update their codebase and be ready when our larer version comes out. johannes