Re: On constructors: BC Break and Class compiler Improvements

From: Date: Thu, 01 Apr 2010 19:40:27 +0000
Subject: Re: On constructors: BC Break and Class compiler Improvements
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-47717@lists.php.net to get a copy of this message
On Thu, Apr 1, 2010 at 21:33, Stanislav Malyshev <stas@zend.com> wrote: > Hi! > >> Well, I think the question here is more about dropping old style >> constructor that case sensitive functions/methods name. I'm in favour >> of dropping in php-next. > > I don't feel comfortable with dropping class-named ctor altogether (big BC > issue) but dropping it in NS-classes seems to be easier (technically, it's > NOT the same name - the real class name is namespace\class) and would solve > 99% of the problem without having almost any BC impact. Ouhgawd yes. Please drop support for oldstyle-ctor-in-namespaces. Its a big PITA, and nearly no BC break. I would even consider it a bug fix :] -Hannes

« previous php.internals (#47717) next »