Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55925 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 59159 invoked from network); 24 Oct 2011 15:21:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Oct 2011 15:21:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=petercowburn@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=petercowburn@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.44 as permitted sender) X-PHP-List-Original-Sender: petercowburn@gmail.com X-Host-Fingerprint: 209.85.210.44 mail-pz0-f44.google.com Received: from [209.85.210.44] ([209.85.210.44:51051] helo=mail-pz0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/62-43916-37285AE4 for ; Mon, 24 Oct 2011 11:21:24 -0400 Received: by pzk4 with SMTP id 4so38620003pzk.3 for ; Mon, 24 Oct 2011 08:21:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=tdt+ObQTWF3ATmgOJOXkXsn9qKgM00mZ5QUFzKh6woA=; b=NK4qlXVNU3HZBFU3H1nDsg4nOe+MGGsZwHK1uQ40zZKTBwwFvvMmzD+45S9WqFFRlC xBxauUZbIys/0vFid8wMxdlIJVxNa3UmWboGK/4lmck0aMsJg/ThKf7bvTOrnz1Bfgp0 OzgLn3x5INaaaByh/You+1176Ef1Fd01cpHO4= Received: by 10.68.28.170 with SMTP id c10mr11343603pbh.44.1319469681064; Mon, 24 Oct 2011 08:21:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.68.43.74 with HTTP; Mon, 24 Oct 2011 08:20:41 -0700 (PDT) In-Reply-To: References: <4E208FE7.4020606@sugarcrm.com> Date: Mon, 24 Oct 2011 16:20:41 +0100 Message-ID: To: David Coallier Cc: Paul Dragoonis , "guilhermeblanco@gmail.com" , PHP Internals List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] SplClassLoader From: petercowburn@gmail.com (Peter Cowburn) On 24 October 2011 15:57, David Coallier wrote: > On 24 October 2011 16:53, Paul Dragoonis wrote: >> On Mon, Oct 24, 2011 at 3:47 PM, 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 spac= e. =3D( >>> >>> There's an RFC for it: https://wiki.php.net/rfc/splclassloader >>> There's a patch for it: https://github.com/metagoto/splclassloader > > If we can identify where we want it in the structure of the PHP > project, I'll be happy to merge the implementation and modify the > config files to have --enable-spl-autoloader or such. Forgive me for not reading the code (yet) but what need is there for an --enable-spl-autoloader flag? What are peoples' thoughts on the name of the class? The word "auto" fits best with all that has come before, yet the proposal here uses "class": what about SplAutoloader? With the introduction of this new class, whatever the name, what happens to __autoload() and spl_autoload_register(), if anything? How many ways do we want/need to load a class? > > Does anyone have a preference for this? > > =A0 =A0/ext/spl/ > =A0 =A0/ext/spl-loader/ > =A0 =A0/ext/spl-autoloader/ > IMO, new SPL functionality should live in ext/spl, we don't want to spread the "standard library" too far and wide. > > > -- > David Coallier > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >