Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56121 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32540 invoked from network); 7 Nov 2011 18:03:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2011 18:03:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vx0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:42397] helo=mail-vx0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6D/B8-13242-26D18BE4 for ; Mon, 07 Nov 2011 13:03:14 -0500 Received: by vcbfl10 with SMTP id fl10so567792vcb.29 for ; Mon, 07 Nov 2011 10:03:11 -0800 (PST) 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=Sd1Gb+7FnOCoLbNyhIPMQFqULUBsgowaQi/Sloj/mAs=; b=g53cFch+gmzbBWmAPycu4Pr3Cd/MvWkaOtzF15d0uqtVnve67JiujZmrzneCqLVovR vnUBYCOuT80tbcgXAqwgHENQEVTOImbps/DXFT9K6xRwrrl4hKSj8Rt771LXTjrJc/6N 8Y8RgwDk0L4WFcYTdhYMW4yIOaEb6oGqOIAqE= Received: by 10.182.45.102 with SMTP id l6mr5297693obm.0.1320688991110; Mon, 07 Nov 2011 10:03:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.221.71 with HTTP; Mon, 7 Nov 2011 10:02:50 -0800 (PST) In-Reply-To: References: <4EB80053.7050606@php.net> <4EB80846.7090302@lsces.co.uk> <4EB810BB.5030208@lsces.co.uk> Date: Mon, 7 Nov 2011 16:02:50 -0200 Message-ID: To: Anthony Ferrara Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] SplClassLoader RFC Voting phase From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") Hi Anthony, On Mon, Nov 7, 2011 at 3:43 PM, Anthony Ferrara wrote= : > Actually, I just re-read the RFC again and I noticed something that's > really irksome to me: > >> Implementation extension > >> According to new threads in php-standards list, it seems all derived imp= lementations have included these extensions to original support: > >> Multiple paths per namespace >> Silent mode as a flag > >> This turns the RFC specification incompatible with current patch. Patch = is going to be updated as soon as voting ends. > > And the following: > >> NOTE: This implementation is not the proposed final. It requires two upd= ates: >> * Multiple paths per namespace >> * Silent mode > > If the RFC is changing (which hasn't really been done so with the > exception of a few TODO notes), how can we vote on it? =C2=A0We're voting > on the RFC which is a moving target? Actually, it's not moving. I enlisted that RFC was still incomplete, I detailed every change that was missing and I even discussed that on the SplClassLoader thread. The comments during the discussion thread is kept. I'm just updating the RFC when I have 5 free minutes. > > I make a formal motion to stop the vote at this time, stabilize and > finalize the RFC and bring that finalized RFC to a vote at a later > date (after at least a reduced round of discussion time has taken > place). =C2=A0Otherwise what are we really voting on, if we think PSR-0 i= s > important? =C2=A0The RFC is about putting in an implementation which as o= f > now is not fully specified either in text or in example. =C2=A0How can we > vote on a moving target...? > Again, it's not moving. > Anthony > > On Mon, Nov 7, 2011 at 12:23 PM, Anthony Ferrara wr= ote: >> Well, with respect to that, are there any examples of where PHP >> currently "reserves the namespace"? =C2=A0I can declare functions/classe= s >> for every single disablable/PECL extension right now. =C2=A0So is there >> even a method to "reserve a namespace", yet alone enforce that in >> core? >> >> And with respect to the re-compile, what usually happens is that the >> windows builds ship with DLLs of the compiled extensions. =C2=A0So it's = not >> a "part of the core compile", but an extension that can be enabled via >> php.ini (as is currently working with apc, mbstring, mysql, mysqli, >> etc). >> >> Anthony >> >> On Mon, Nov 7, 2011 at 12:09 PM, Lester Caine wrote= : >>> Anthony Ferrara wrote: >>>> >>>> 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? =C2=A0Considering that it would basically be just `p= ecl >>>> install PSRClassLoader`? =C2=A0And at that point there's no reason for >>>> anything in the core (even reserving a namespace). =C2=A0That's how ot= her >>>> extensions (even popular ones like apc) work now... >>>> >>>> Unless I'm misunderstanding what you mean...? >>> >>> Actually the "reserve the namespace" is probably the important piece of= the >>> jigsaw? >>> Also while Linux 'installs' can easily 'recompile', windows builds are >>> necessarily pre-compiled, so what is compiled in and what is available = via >>> an extension becomes more important. >>> >>>> On Mon, Nov 7, 2011 at 11:33 AM, Lester Caine =C2= =A0wrote: >>>>> >>>>> Sebastian Bergmann wrote: >>>>>>> >>>>>>> 1- The same as you wrote. Having it in SPL and in PHP 5.4 >>>>>>>> >>>>>>>> =C2=A02- Have it in PHP 5.4 as an external extension (FIG, PSR or = PSG), >>>>>>>> =C2=A0enabled by default. >>>>>>>> =C2=A03- As an external extension, disabled by default. This would= require >>>>>>>> =C2=A0PHP core to reserve the namespace for us. >>>>>> >>>>>> =C2=A0You are missing 4: not have it at all (which would get my +1). >>>>> >>>>> 3 would be acceptable if external extensions were downloaded separate= ly >>>>> 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=3Dcontact >>> 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 >>> >>> >> > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --=20 Guilherme Blanco Mobile: +55 (11) 8118-4422 MSN: guilhermeblanco@hotmail.com S=C3=A3o Paulo - SP/Brazil