Re: SplClassLoader RFC Voting phase
| From: | Anthony Ferrara | Date: | Mon, 07 Nov 2011 16:40:20 +0000 |
| Subject: | Re: SplClassLoader RFC Voting phase | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56107@lists.php.net to get a copy of this message | ||
Lester,
I think he was referring to something like the MySQL/bcmath/etc
extension where it ships in core, but is disabled by default (requires
a compile-time option).
I think what you interpreted it as is basically just what PECL is for
and how it works? Considering that it would basically be just `pecl
install PSRClassLoader`? And at that point there's no reason for
anything in the core (even reserving a namespace). That's how other
extensions (even popular ones like apc) work now...
Unless I'm misunderstanding what you mean...?
Anthony
On Mon, Nov 7, 2011 at 11:33 AM, Lester Caine <lester@lsces.co.uk> wrote:
> Sebastian Bergmann wrote:
>>>
>>> 1- The same as you wrote. Having it in SPL and in PHP 5.4
>>> > 2- Have it in PHP 5.4 as an external extension (FIG, PSR or PSG),
>>> > enabled by default.
>>> > 3- As an external extension, disabled by default. This would require
>>> > PHP core to reserve the namespace for us.
>>
>> You are missing 4: not have it at all (which would get my +1).
>
> 3 would be acceptable if external extensions were downloaded separately to
> the core distribution ... but I suppose that IS 4 ;)
> Isn't it about time we considered a better distribution model for additions
> like this?
>
> --
> Lester Caine - G8HFL
> -----------------------------
> Contact - http://lsces.co.uk/wiki/?page=contact
> L.S.Caine Electronic Services - http://lsces.co.uk
> EnquirySolve - http://enquirysolve.com/
> Model Engineers Digital Workshop - http://medw.co.uk//
> Firebird - http://www.firebirdsql.org/index.php
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>