Re: On constructors: BC Break and Class compiler Improvements
| From: | Stanislav Malyshev | Date: | Sat, 03 Apr 2010 01:17:44 +0000 |
| Subject: | Re: On constructors: BC Break and Class compiler Improvements | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47762@lists.php.net to get a copy of this message | ||
Hi!
So, I think we've got consensus about not having class-named ctors in namespaced classes in trunk, and unless I hear some screams I'll commit the patch early next week.
What about the 5.3? (BTW, I don't see any difference between 5.3.0 and anything later, could anybody point it to me?)
We could:
1. Kill the class-named ctors for NS in 5.3 (some BC break, though I have hard time believing anybody used it so far, but who knows)
2. Kill the warning and just ignore the other one if __ctor is there.
3. Leave everything as-is.
I kind of favor (1) but want to hear from people here and esp. RMs :)
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com