2013/8/30 Stas Malyshev <smalys...@sugarcrm.com>

> Hi!
>
> > I disagree on the basis that namespaced functions/constants *do* fit the
> > same autoloading paradigm.
>
> If they're already namespaced, what prevents one to put it in a class
> and use good old PSR-compatible loading?
>

Well, static methods aren't the same as functions.


>
> > Those function calls would only kick in if the function/constant wasn't
> > already defined, which will be the exception case, so perf isn't a
> > strong argument.
>
> Not according to the code I see in the patch. There I see 2 func calls
> (among other things) before the hash is even looked up.


> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


-- 
github.com/KingCrunch

Reply via email to