Re: On constructors: BC Break and Class compiler Improvements
| From: | Richard Quadling | Date: | Tue, 06 Apr 2010 11:08:42 +0000 |
| Subject: | Re: On constructors: BC Break and Class compiler Improvements | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47801@lists.php.net to get a copy of this message | ||
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).
Richard.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling