Re: [RFC] Remove PHP 4 Constructors

From: Date: Thu, 20 Nov 2014 14:32:26 +0000
Subject: Re: [RFC] Remove PHP 4 Constructors
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi,

On Thu, Nov 20, 2014 at 4:25 PM, Xinchen Hui <[email protected]> wrote:
>
> leave it there doesn't hurt anybody.  but remove it will. why we need to ?
>

Leaving it does hurt. Most developers with no PHP4 experience don't
know that such a feature exists and spend hours trying to figure out
why a parent class' constructor isn't getting called when it's not
overriden by self::__construct().

PHP can't support everything forever, old and nowadays rarely used
syntax like this one must go away.

Cheers,
Andrey.


Thread (115 messages)

« previous php.internals (#79040) next »