Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:53669 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 40220 invoked from network); 29 Jun 2011 16:36:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Jun 2011 16:36:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=dragoonis@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=dragoonis@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.170 as permitted sender) X-PHP-List-Original-Sender: dragoonis@gmail.com X-Host-Fingerprint: 209.85.214.170 mail-iw0-f170.google.com Received: from [209.85.214.170] ([209.85.214.170:53172] helo=mail-iw0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 80/A2-25278-7845B0E4 for ; Wed, 29 Jun 2011 12:36:23 -0400 Received: by iwn36 with SMTP id 36so1385858iwn.29 for ; Wed, 29 Jun 2011 09:36: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:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=6l5K7xkaeyQ289sK8FNpXlN2EAx7CmO50Q0vV61QlHg=; b=AcdzjZRZ+tSkVx86qdM1m6XU8G5NirsYutOJhutUAn6cM/00fdUCUYHcD/LDWNLbAm xKa95u40zLGGge3GpuRuQT9N2daPtRQCz29YIl5jSWJzToiIvcjZFAnUimMKbPntSYa9 ExLZCW7Wc4baDPlwbYEZaSaL82/wsy2Ian6yg= MIME-Version: 1.0 Received: by 10.42.154.198 with SMTP id r6mr940635icw.276.1309365381021; Wed, 29 Jun 2011 09:36:21 -0700 (PDT) Received: by 10.42.108.70 with HTTP; Wed, 29 Jun 2011 09:36:21 -0700 (PDT) In-Reply-To: References: <5523253B-A1E8-4B54-BA4B-F562368F62A5@seancoates.com> Date: Wed, 29 Jun 2011 17:36:21 +0100 Message-ID: To: Pierre Joye Cc: Sean Coates , PHP internals , David Soria Parra Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [VOTE] Voting RFC votes closed From: dragoonis@gmail.com (Paul Dragoonis) On Wed, Jun 29, 2011 at 5:20 PM, Pierre Joye wrote: > hi Sean, > > In any case I would do it anyway. > > Whether it can make it to 5.4 or not is another question and I can't > give you an answer. But doing it anyway will finally clear this point. > We have to re do the short array syntax as well. > > From my side it will be a -1 as I really don't think having json > syntax is a good thing. For the object, why not, but I would love to > have a way to do it for all kind of classes, not only stdclass :) But > that should be another thread :) Although I like sean's RFC doc my two cents is: We already have inline array syntax with array( .. ) wrapped around it. I still wouldn't mind the [ ... ] syntax. For stdclass objects we have nothing like this, and would be happy to see the object literals idea pushed forward even if the array one is rejected. The wrapper syntax proposed by sean is { ... } just like JS, however to be consistent with array() I wouldn't mind seeing $o =3D object( .... ) just like $a =3D array( ... ) Overall, I'm with sean, but wanted to give my opinion on what we already have and to push the idea of object(...) Thanks, Paul Dragoonis. > > On Wed, Jun 29, 2011 at 5:15 PM, Sean Coates wrote: >> *BUMP* >> >> It would be really helpful if we could find consensus on this=85 I feel = like the RFC process is stalled until these questions are answered. >> >> S >> >> On 2011-06-27, at 9:06 PM, Sean Coates wrote: >>>> The RFC was accepted. >>> >>> Ok; so is this "official" now, or does it need to be ratified somehow? >>> >>> If I clean up my RFC (https://wiki.php.net/rfc/objectarrayliterals) and= put it to vote, are these now the rules that will be followed? >>> >>> Since I didn't use "[RFC]" in the original email to internals, do I nee= d to start from the start? >> >> >> -- >> PHP Internals - PHP Runtime Development Mailing List >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >