Re: On constructors: BC Break and Class compiler Improvements
| From: | Hannes Magnusson | Date: | Tue, 06 Apr 2010 11:32:01 +0000 |
| Subject: | Re: On constructors: BC Break and Class compiler Improvements | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47803@lists.php.net to get a copy of this message | ||
2010/4/6 Richard Quadling <rquadling@googlemail.com>:
> 2010/4/5 Stanislav Malyshev <stas@zend.com>:
>> Hi!
>>
>>> Given the feedback on the list I think it's ok.
>>> Please make the BC break clear in the NEWS file so I remember to copy it
>>> in the announcement.
>>
>> OK, done.
>> --
>> Stanislav Malyshev, Zend Software Architect
>> stas@zend.com http://www.zend.com/
>> (408)253-8829 MSN: stas@zend.com
>>
>> --
>> PHP Internals - PHP Runtime Development Mailing List
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
>
> I've just done a quick check on PEAR/packages-all with regard to
> classes using __construct vs the class name.
>
> 818 classes have __construct
> 1511 use the class name as the constructor
> 3563 files don't have a constructor
>
> I excluded tests, examples and documentation (but some may have crept in)..
>
None of those use namespaces, so there is no break there.
-Hannes