Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79039 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73741 invoked from network); 20 Nov 2014 14:25:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2014 14:25:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.217.174 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.217.174 mail-lb0-f174.google.com Received: from [209.85.217.174] ([209.85.217.174:34574] helo=mail-lb0-f174.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D4/2A-14967-7D9FD645 for ; Thu, 20 Nov 2014 09:25:29 -0500 Received: by mail-lb0-f174.google.com with SMTP id w7so2332699lbi.19 for ; Thu, 20 Nov 2014 06:25:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=xzR25UvU4/X5IWJzh7hQABqauaBueTVmxWEQdz1+zXE=; b=QdXEa/Aa0gKrOSFo2v+RYaf4v5OV59iTc8rXv7WpVZy4QvRtovN2xpi4b0qGaJ802x LSCYamowwijNiLiyQb1L5i6WXgXD1aR/1gZRXvWvqRBKVRIpFmxYd4IZmJvQB12KSkZ3 vpHzsUpfaDGpQiugwdmZzBPC1RLHP4LMkfn0cWpMtEYpydxNSD/14n/4qz37QAX/C5Lr Y1sUqO+lcrQ7za/FDsQloxcIcQBE4qykPbzWvG4Taz0hyTjxoc7e/sbDUG2uXsdqcNb4 ZJyqYiJqlWFxCBRVYsraCfYa4RmI2GZFup76jjHrl+xf9fbnCZhj22EjX1MCeApDBO1r q1CA== X-Gm-Message-State: ALoCoQljI6TaWdw3cjlbv6r6UEA3QAEAC/vLWQRjvPbdzlCES0r/MyIbwwlXlBwi6+yZQQWx7CILQQQ8YVQ0d7zRG46KtksdtoIwFTX3jFp/hWcNBCrL0MKdvwKsn5OTF5eZHh9O7KIy6qux8lL2AK5s0BzqgEQYPg== X-Received: by 10.152.120.133 with SMTP id lc5mr11526606lab.62.1416493524163; Thu, 20 Nov 2014 06:25:24 -0800 (PST) Received: from mail-la0-f43.google.com (mail-la0-f43.google.com. [209.85.215.43]) by mx.google.com with ESMTPSA id k10sm593042lae.42.2014.11.20.06.25.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Nov 2014 06:25:21 -0800 (PST) Received: by mail-la0-f43.google.com with SMTP id q1so2498775lam.2 for ; Thu, 20 Nov 2014 06:25:20 -0800 (PST) X-Received: by 10.152.216.167 with SMTP id or7mr2123919lac.93.1416493520680; Thu, 20 Nov 2014 06:25:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.114.64.240 with HTTP; Thu, 20 Nov 2014 06:25:00 -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 22:25:00 +0800 Message-ID: To: =?UTF-8?Q?Johannes_Schl=C3=BCter?= Cc: Alain Williams , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: laruence@php.net (Xinchen Hui) On Thu, Nov 20, 2014 at 5:43 PM, 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 am with you here. leave it there doesn't hurt anybody. but remove it will. why we need to ? thanks > > johannes > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > --=20 Xinchen Hui @Laruence http://www.laruence.com/