Re: [DRAFT] [RFC] Function autoloading

From: Date: Fri, 30 Aug 2013 10:40:10 +0000
Subject: Re: [DRAFT] [RFC] Function autoloading
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
On Fri, Aug 30, 2013 at 11:46 AM, Johannes Schlüter
<[email protected]> wrote:
> On Fri, 2013-08-30 at 10:49 +0200, Julien Pauli wrote:
>> Just to say : one benefit of this work would be to finally have autoload
>> functionnality (which is a Core feature IMO) included in Zend/ and no more
>> in an extension.
>
> What is the benefit, except having more stuff in the engine? SPL is part
> of the core. Let's not pack the engine with stuff not needed there.

Can we stop this madness of considering SPL as non standard or as a
'let put everything we don't know in there' extension?

It was created to provided some standard advanced functions or
structures. SPL was then used to work around some of the limitation of
the engine, or add features not desired by some of the core devs,
because no compromise was found. This must end, either it is needed
and should be in the engine, or it is not and can go in pecl. SPL is
standard, and always enabled. It should not continue to become a 2nd
layer to the engine but to provide advanced features like what it
initially did.

-- 
Pierre

@pierrejoye | http://www.libgd.org


Thread (72 messages)

« previous php.internals (#68714) next »