Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79042 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 97722 invoked from network); 20 Nov 2014 16:37:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2014 16:37:31 -0000 Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.47 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.218.47 mail-oi0-f47.google.com Received: from [209.85.218.47] ([209.85.218.47:51012] helo=mail-oi0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 92/DC-14967-AB21E645 for ; Thu, 20 Nov 2014 11:11:39 -0500 Received: by mail-oi0-f47.google.com with SMTP id v63so2275686oia.34 for ; Thu, 20 Nov 2014 08:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=yir+mgXuF5mTe7P94WGlIUXFCl7aJePVKJFWkbmZR5s=; b=I1DNElzNXig0hsaFCgWfxSr5bHawyDlQIn/sdkNLy4bWkYeqtKauLucv5oTRwZOeza V6rPvXrHFgFHn1TFd55TIVdqlbUb2s2WdPQf2hWuRk3zrYo2enAr2VLd/CGibgjbMoDl b1z96rb240aISJsYh37cfw3vubJZOiCq/h8oU514c/hYMsyyHiWHCFQHEglooOhWC+jj zBEy/CLVhFeAszF4Ue+D/Y+V5+mV+iVY2OiWzTZMGUs+yMPAb7lsFt2D/t8+uFVgOIkM RGZUYdMY60nvF8d/h1sm4BVqnk05KJFXXb2GfKJ8UX/EnLcH24WmPRaQdSnGiACTGtLy Liow== MIME-Version: 1.0 X-Received: by 10.60.156.165 with SMTP id wf5mr10176897oeb.21.1416499896177; Thu, 20 Nov 2014 08:11:36 -0800 (PST) Sender: morrison.levi@gmail.com Received: by 10.76.89.237 with HTTP; Thu, 20 Nov 2014 08:11:35 -0800 (PST) In-Reply-To: <1416476628.15061.4.camel@kuechenschabe> References: <546C9E22.6090301@fedoraproject.org> <20141119134632.GV2294@phcomp.co.uk> <546CA8C0.1060707@gmail.com> <20141119143329.GX2294@phcomp.co.uk> <1416476628.15061.4.camel@kuechenschabe> Date: Thu, 20 Nov 2014 09:11:35 -0700 X-Google-Sender-Auth: ggfpix1xy0v4kfyUnq2eWXdKosQ Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Alain Williams , internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: levim@php.net (Levi Morrison) On Thu, Nov 20, 2014 at 2:43 AM, Johannes Schl=C3=BCter wrote: > 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 supporti= ng 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. 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?