Re: On constructors: BC Break and Class compiler Improvements

From: Date: Thu, 01 Apr 2010 19:25:57 +0000
Subject: Re: On constructors: BC Break and Class compiler Improvements
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-47714@lists.php.net to get a copy of this message
hi, On Thu, Apr 1, 2010 at 9:18 PM, Stanislav Malyshev <stas@zend.com> wrote: > Hmm... Interesting issue. Without namespaces filter() obviously would be > Filter's ctor, as class names aren't case sensitive now, remember? But with > namespaces it gets tricky. Can we say filter() is still the ctor, and if not > - we've got a problem of not being able to define a named ctor for a > namespaced class. I'd say "good riddance" but some may disagree. 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. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org

« previous php.internals (#47714) next »