Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79045 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5474 invoked from network); 20 Nov 2014 17:33:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2014 17:33:26 -0000 Authentication-Results: pb1.pair.com header.from=rowan.collins@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rowan.collins@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.179 as permitted sender) X-PHP-List-Original-Sender: rowan.collins@gmail.com X-Host-Fingerprint: 209.85.212.179 mail-wi0-f179.google.com Received: from [209.85.212.179] ([209.85.212.179:60569] helo=mail-wi0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/2E-14967-5E52E645 for ; Thu, 20 Nov 2014 12:33:25 -0500 Received: by mail-wi0-f179.google.com with SMTP id ex7so6191764wid.0 for ; Thu, 20 Nov 2014 09:33:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; bh=RJI81m6rgWQ19vGMkTo5Qi3X7khOUlCLTYE0wDsClp8=; b=Q/cHEGQpgjgMa6/R23TahRxNH+aodC+GXYpk3ja0alvT5/pvdcT2RAj6Z2ETa8osQu SOkoRdGam/OZcPevgKYMnaYJa4uc90K5MllezPRVrP9UBqTO8EerePuPiGWH8IM3GBXw oDuGC2aqtOltasJUgqdQBi9PP12PYsz0vkh28npBe34cONsaUo06N5hf6kXS22UcMfVM ejCtddI6WZT2nb6oID3eZxTtELnbSSyblBsnZMtNVc3tdqiqtXrXugOlKmYWu9i4X2DE 7bUME1x9w586tolmhl3Kosv60s5m/cztFNIq5CPWL9hD8O4l+yQSwd7trvwFP/bH8NuJ xqFw== X-Received: by 10.194.71.84 with SMTP id s20mr25147666wju.128.1416504802217; Thu, 20 Nov 2014 09:33:22 -0800 (PST) Received: from [192.168.0.148] ([62.189.198.114]) by mx.google.com with ESMTPSA id pu3sm4307283wjc.14.2014.11.20.09.33.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Nov 2014 09:33:21 -0800 (PST) Message-ID: <546E25D3.8080504@gmail.com> Date: Thu, 20 Nov 2014 17:33:07 +0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: internals@lists.php.net References: <546C9E22.6090301@fedoraproject.org> <20141119134632.GV2294@phcomp.co.uk> <546CA8C0.1060707@gmail.com> <20141119143329.GX2294@phcomp.co.uk> <1416476628.15061.4.camel@kuechenschabe> <1416502819.15061.38.camel@kuechenschabe> In-Reply-To: <1416502819.15061.38.camel@kuechenschabe> Content-Type: multipart/alternative; boundary="------------010009060301090703090808" Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: rowan.collins@gmail.com (Rowan Collins) --------------010009060301090703090808 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Johannes Schlüter wrote on 20/11/2014 17:00: > 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. +1 for officially deprecating this for a while before removing; currently, there's not even an E_STRICT when defining or using old-style constructors. The manual isn't particular clear either: > For backwards compatibility, if PHP 5 cannot find a __construct() function for a given class, and the class did not inherit one from a parent class, it will search for the old-style constructor function, by the name of the class. I notice the RFC does propose deprecation, but in 5.7; that's predicated on a 5.7 being released, which I know some people are not in favour of. Has there been a formal vote on whether 5.7 should exist as a lightweight "last 5.x" shortly before 7.x? Even with that, there is the question of whether 5.7 would give users long enough to make sure everything was compatible with this change. Regards, -- Rowan Collins [IMSoP] --------------010009060301090703090808--