2010/4/6 Richard Quadling <rquadl...@googlemail.com>:

> 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).

You missed a critical part of this change:

When it is inside a Namespace.

I very much doubt that many PEAR packages actually use namespaces or
even 5.3 only (not badly meant).

Cheers,
--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to