Re: [RFC] Remove PHP 4 Constructors

From: Date: Wed, 19 Nov 2014 16:32:25 +0000
Subject: Re: [RFC] Remove PHP 4 Constructors
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-79003@lists.php.net to get a copy of this message
On 19.11.2014 16:07, Alain Williams wrote: > On Wed, Nov 19, 2014 at 02:41:09PM +0000, Chris Wright wrote: > > >> 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 both >> styles even after this change is introduced: >> ... > > 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. -- Ralf Lang Linux Consultant / Developer Tel.: +49-170-6381563 Mail: lang@b1-systems.de B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.internals (#79003) next »