Re: spl_autoload vs __autoload
| From: | Marcus Boerger | Date: | Mon, 31 Dec 2007 21:45:47 +0000 |
| Subject: | Re: spl_autoload vs __autoload | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-34307@lists.php.net to get a copy of this message | ||
Hello Johannes,
I agree with Pierre here. How about finally making SPL built in always
like ext/standard?
marcus
Monday, December 31, 2007, 7:31:40 PM, you wrote:
> On Dec 30, 2007 6:58 PM, Marcus Boerger <helly@php.net> wrote:
>> Hello Andrew,
>>
>> SPL simply allows two things:
>> a) a stack that hooks into __autoload
>> b) a default implementation that may be used (with ot without the former)
>>
>> We try to group functionality into extensions where we seem fit. And by the
>> time I implemented spl_autoload stuff it made sense to put it into the SPL
>> extension. Just because that extension was meant to be the home for more
>> advanced OOP stuff.
> I see nothing advanced in these features and a couple of other neither
> (we gave a short list already). Can we at least always enabled by in
> 5.3 and be done with it? It is annoying to have setups without it.
> Happy new year! :-)
Best regards,
Marcus