Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79003 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55858 invoked from network); 19 Nov 2014 16:32:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Nov 2014 16:32:36 -0000 Authentication-Results: pb1.pair.com header.from=lang@b1-systems.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=lang@b1-systems.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain b1-systems.de designates 84.200.69.220 as permitted sender) X-PHP-List-Original-Sender: lang@b1-systems.de X-Host-Fingerprint: 84.200.69.220 mx1.b1-systems.de Received: from [84.200.69.220] ([84.200.69.220:39722] helo=mx1.b1-systems.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AF/90-51809-D16CC645 for ; Wed, 19 Nov 2014 11:32:30 -0500 Received: from [192.168.111.20] (ip25044fc7.dynamic.kabel-deutschland.de [37.4.79.199]) by mx1.b1-systems.de (Postfix) with ESMTPSA id 1A50BB8209 for ; Wed, 19 Nov 2014 17:29:48 +0100 (CET) Message-ID: <546CC619.2090706@b1-systems.de> Date: Wed, 19 Nov 2014 17:32:25 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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> <20141119150713.GY2294@phcomp.co.uk> In-Reply-To: <20141119150713.GY2294@phcomp.co.uk> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9QmBJiFcuX8VOXhu8TVLu81nqcX4d7lEk" Subject: Re: [PHP-DEV] [RFC] Remove PHP 4 Constructors From: lang@b1-systems.de (Ralf Lang) --9QmBJiFcuX8VOXhu8TVLu81nqcX4d7lEk Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 19.11.2014 16:07, Alain Williams wrote: > On Wed, Nov 19, 2014 at 02:41:09PM +0000, Chris Wright wrote: >=20 >=20 >> Note that, for users who are insane enough to expect to maintain PHP4-= 7 >> support in a single codebase, it's also easily possible to work with b= oth >> styles even after this change is introduced: >> ... >=20 > It is a problem trying to maintain code for different versions of PHP, > especially where there are syntax differences. Not in this case. Old PHP 4 code (regarding constructors) works through all PHP 5.x - New PHP 5 code has been working for the last 6 or 7 years worth of PHP releases and will continue to work. Code which has duplicate constructors (or one calling the other) will work on both platforms (only regarding constructors). +1 for the change even though or because it will separate some of the PEAR heritage from modern platforms if unchanged/unmaintained. --=20 Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstra=C3=9Fe 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 --9QmBJiFcuX8VOXhu8TVLu81nqcX4d7lEk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlRsxhkACgkQCs1dsHJ/X7B3NgCg9dA6vl2bmXtddYWY5QRA137g 9EMAoOhOyo4sr9hNuOL1oF4Nej0D+WaD =urK8 -----END PGP SIGNATURE----- --9QmBJiFcuX8VOXhu8TVLu81nqcX4d7lEk--