Re: [RFC] Function autoloading through spl_autoload*

From: Date: Thu, 18 Aug 2011 19:19:06 +0000
Subject: Re: [RFC] Function autoloading through spl_autoload*
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Thu, Aug 18, 2011 at 7:19 PM, Stas Malyshev <[email protected]> wrote:
> Hi!
>
> On 8/17/11 3:15 PM, Sebastian Krebs wrote:
>>
>> However, in my opinion the important part is to just make a decision the
>> sooner, the better, as long as there are not too much creepy code out
>> there (I don't know any and I can't imagine, that there is). Because
>> functions with namespace are quite unhandy without autoloading and I
>> don't think, that there is much use of it.
>
> We already made the decision, when we introduced the namespaces and made the
> resolution order what it is now. And we considered all the variants and
> discussed all the arguments brought here back then.

could you link the discussion about the function autoloading back then?
I only found the namespace resolution discussion, but nothing about
functions, except that they should fall back to the global namespace
as we don't have/didn't have autoloaders for them.


-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu


Thread (39 messages)

« previous php.internals (#54700) next »