Re: On constructors: BC Break and Class compiler Improvements
| From: | Stanislav Malyshev | Date: | Thu, 01 Apr 2010 19:33:33 +0000 |
| Subject: | Re: On constructors: BC Break and Class compiler Improvements | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47715@lists.php.net to get a copy of this message | ||
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. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com