Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76157 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14986 invoked from network); 26 Jul 2014 15:42:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2014 15:42:09 -0000 Authentication-Results: pb1.pair.com smtp.mail=nikita.ppv@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nikita.ppv@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.48 as permitted sender) X-PHP-List-Original-Sender: nikita.ppv@gmail.com X-Host-Fingerprint: 209.85.219.48 mail-oa0-f48.google.com Received: from [209.85.219.48] ([209.85.219.48:40925] helo=mail-oa0-f48.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/32-22380-05CC3D35 for ; Sat, 26 Jul 2014 11:42:08 -0400 Received: by mail-oa0-f48.google.com with SMTP id m1so6883333oag.21 for ; Sat, 26 Jul 2014 08:42:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kBLw637rf3vBSXRqSxSTDQPKpCf2IuIn3NKUr8PhL/U=; b=kvfXsEGnUEfzRqbkmC312nhTv7A50P6QDmeNPKZw8x3ZRL7JGJ2Sy34JTL/D6rllfT UAxM3c4N3ls93HBhz65jW8iGzKS+kGI54/Hh86d2TapL+hWj49RBz54ILBHnNqn9Yw+1 cV/lmch64GH0AVp9hW37OlBcwyVm9gywahNsgmPtjP4kUsT5keZs2nOMjdbDa9grAu6J aGzj7lWOid5RPLRZSEA8gSGCdMEeofZigmZStKfSUSvcUxOLEaiiI1ZDmJCOfpYH75In mEdcQac4i6jhjLTzWNxDTiQQdSW41J2W4ZTXzsK0BwrNtc2su/pryCe0fQIjDXYsWqEw YSJw== MIME-Version: 1.0 X-Received: by 10.182.209.101 with SMTP id ml5mr26873108obc.2.1406389333207; Sat, 26 Jul 2014 08:42:13 -0700 (PDT) Received: by 10.182.132.2 with HTTP; Sat, 26 Jul 2014 08:42:13 -0700 (PDT) In-Reply-To: References: Date: Sat, 26 Jul 2014 17:42:13 +0200 Message-ID: To: Julien Pauli Cc: Dmitry Stogov , Bob Weinand , Stas Malyshev , PHP Internals Content-Type: multipart/alternative; boundary=e89a8ff1ca209f2f8304ff1a8802 Subject: Re: [PHP-DEV] Weird constant expression syntax and bug From: nikita.ppv@gmail.com (Nikita Popov) --e89a8ff1ca209f2f8304ff1a8802 Content-Type: text/plain; charset=UTF-8 On Fri, Jul 25, 2014 at 11:03 PM, Julien Pauli wrote: > On Wed, Jul 23, 2014 at 8:12 PM, Dmitry Stogov wrote: > >> PHP-5.6 is frozen for new features for a long time. >> Adding new features after RC is not a good idea. >> And we will need some kind of RFC and voting. >> > > I agree here. > > Bob, if you've been late proposing an RFC and couldn't get it up in time, > I'm sorry about it. > Please, understand we are very close to a release, and ATM, we're still > talking about weither this *user land* feature or that *user land* feature > will > be available, makes sense, or not. (that's a technical feature, but it > involves user land here). > That can't be ! > > We absolutely need something we, maintainers - creators - authors , think > is *stable*. > The PHP project needs that, we all agree. > > If the static array feature can't be added to the AST safely, please, > remove it. > > You've already added so much new great code (AST for this example) to 5.6, > I personnally thank you about this, however now it is really time to make > it stable, and commit its new features you may think about into 5.7 (or > what will be 5.7, ATM : master) , and write new RFCs about those if needed. > > Knowing your actual work in addition of that, is deep into the engine and > has inpact on OPCache, that dmitry and other contributors work hard on to > improve/fix every day, is another point that should let us think about a > minute : we just can't afford that. > > 5.6 is late, for many reasons. We need to release it ASAP, but not with > code we don't fully trust. > > Thank you. > > Julien.Pauli > Could somebody please clarify what issues are still open here? From what I understand, both the opcache issue and the recursion issue are fixed now. What's the discussion about? One point I'd like to be considered is the ability to dereference arrays in constant scalar expressions. Currently this syntax allows things like Foo[0], which are not allowed by normal PHP expressions. I would suggest either removing the ability to dereference altogether or at least make sure that it matches normal PHP expressions. Nikita --e89a8ff1ca209f2f8304ff1a8802--