On 6 April 2010 13:52, Ferenc Kovacs <tyr...@gmail.com> wrote: > > > On Tue, Apr 6, 2010 at 1:32 PM, Hannes Magnusson > <hannes.magnus...@gmail.com> wrote: >> >> 2010/4/6 Richard Quadling <rquadl...@googlemail.com>: >> > 2010/4/5 Stanislav Malyshev <s...@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 >> >> s...@zend.com http://www.zend.com/ >> >> (408)253-8829 MSN: s...@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 >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> > should we check pear2? > > Tyrael >
Doh. Well at least you all know what you are talking about. Same check on PEAR2... It seems the only places where classnames are used as constructors are in pyrus.phar and sandbox\SimpleChannelServer\pearscs.phar for Pyrus\pyrus.phar : PEAR_Task_Replace_rw Pyrus\pyrus.phar : PEAR_Task_Unixeol_rw Pyrus\pyrus.phar : PEAR_Task_Windowseol_rw Pyrus\pyrus.phar : Net_URL sandbox\SimpleChannelServer\pearscs.phar : PEAR_Task_Replace_rw sandbox\SimpleChannelServer\pearscs.phar : PEAR_Task_Unixeol_rw sandbox\SimpleChannelServer\pearscs.phar : PEAR_Task_Windowseol_rw As these are PEAR classes and don't aren't namespace, the current PEAR2/all looks OK too. 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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php