Re: [RFC] Remove PHP 4 Constructors

From: Date: Thu, 20 Nov 2014 15:07:45 +0000
Subject: Re: [RFC] Remove PHP 4 Constructors
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-79041@lists.php.net to get a copy of this message
On Thu, Nov 20, 2014 at 10:32 PM, Andrey Andreev <narf@devilix.net> wrote: > Hi, > > On Thu, Nov 20, 2014 at 4:25 PM, Xinchen Hui <laruence@php.net> 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(). I really doubt "most" here. developers with c++ experience must feel it's very friendly. thanks > > PHP can't support everything forever, old and nowadays rarely used > syntax like this one must go away. > > Cheers, > Andrey. -- Xinchen Hui @Laruence http://www.laruence.com/

« previous php.internals (#79041) next »