Re: SplClassLoader
| From: | Paul Dragoonis | Date: | Mon, 24 Oct 2011 14:53:22 +0000 |
| Subject: | Re: SplClassLoader | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55922@lists.php.net to get a copy of this message | ||
On Mon, Oct 24, 2011 at 3:47 PM, guilhermeblanco@gmail.com
<guilhermeblanco@gmail.com> wrote:
> Hi internals,
>
> It's been a while since Stas accepted that, but it seems the class
> haven't been merged since then.
> What's the status of this? Can I expect SplClassLoader in 5.4.0?
>
> It seems it was approved, but wasn't merged and thread was lost in space. =(
>
> There's an RFC for it:
> https://wiki.php.net/rfc/splclassloader
> There's a patch for it: A¸ٛ0m·|v
> I9öhttps://github.com/metagoto/splclassloader
>
> I'm not 100% sure the patch still works since it's been over 1 year
> since it was proposed... =\
I was also looking for this yesterday while implementing namespaces
into my project to be PSR-0 complaint. I did see metagoto's
implementation however would prefer to see something in /ext/*
Lets push it ! all major php libs would significantly benefit from
this addition from user-land into core.
- Paul Dragoonis.
>
> Cheers,
>
> On Fri, Jul 15, 2011 at 4:07 PM, Stas Malyshev <smalyshev@sugarcrm.com> wrote:
>> Hi!
>>
>> On 6/29/11 6:31 AM, Mike Willbanks wrote:
>>>>
>>>> There's a RFC covering this. There's a patch also.
>>>>
>>>> https://wiki.php.net/rfc/splclassloader
>>>
>>>
>>> This one seems to have fallen through the cracks?
>>
>> Well, nobody proposed it in time (especially not the RFC author :)
>>
>>> * The other implementation I could see is to modify spl_autoload to be
>>> able
>>> to pass it a parameter for the auto loading type - right now it will
>>> attempt
>>> to autoload everything lowercase (been brought up a few times).
>>
>> I think the class looks better. I think RFC needs to be expanded with
>> description of what the class actually does and how, and then if there are
>> no objections I think we could take it into 5.4.0, since the implementation
>> already exists.
>> --
>> 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
>>
>>
>
>
>
> --
> Guilherme Blanco
> Mobile: +55 (11) 8118-4422
> MSN: guilhermeblanco@hotmail.com
> São Paulo - SP/Brazil
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>