Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71960 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5793 invoked from network); 2 Feb 2014 01:29:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2014 01:29:50 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.160.51 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.160.51 mail-pb0-f51.google.com Received: from [209.85.160.51] ([209.85.160.51:52504] helo=mail-pb0-f51.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/7D-30967-C8F9DE25 for ; Sat, 01 Feb 2014 20:29:48 -0500 Received: by mail-pb0-f51.google.com with SMTP id un15so5764219pbc.24 for ; Sat, 01 Feb 2014 17:29:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=AfMeTy0Do9ubqhoIW03FDCth97FDHclHsNil4VYeoCE=; b=NQUBrVrpMvWS1uafPlPNfh6RBfY4eJd+phjwzvL4ZJxpTbNp8LiJxffOJOmtkYnqqa Ifh8cLE12R4GnWIu25cclEAHm74S6ojdSp5Xhz8MbZmd0rm/USn7PooGzy3coXZUxW/q 53HaqRRxzwvRSv9bz87VAuWpLBnUSMFbyLeDQs/kMl/71FPatfF8azJjhCPTlNmnt+LR eahyZ+kpM2ezdi12xAAdIfFDP6iAppAX0NPPMSrVBvSqIWcmLOHcYXCsAf0RHG6NTmSH 3NduLNQNR4e1PtUn1LvQMb3ChJaXHDlVQ2EtzEJtTGzxxXspvF2VgqVsrA4t47wEphZG FQZA== X-Gm-Message-State: ALoCoQnF0B4vVNmIgpXdkFOtbXeHSnoE9mI/M2Tzl7Qdr/kC04VcGDla9Y++t60XrmLgaRjloTIY MIME-Version: 1.0 X-Received: by 10.66.136.131 with SMTP id qa3mr28737127pab.77.1391304585469; Sat, 01 Feb 2014 17:29:45 -0800 (PST) Sender: php@golemon.com Received: by 10.70.77.164 with HTTP; Sat, 1 Feb 2014 17:29:45 -0800 (PST) X-Originating-IP: [173.252.71.189] In-Reply-To: References: <98.E0.35265.E17FBE25@pb1.pair.com> Date: Sat, 1 Feb 2014 17:29:45 -0800 X-Google-Sender-Auth: USye2idaP6WQ18RbctYrrMfPAVw Message-ID: To: Chris Wright Cc: Gordon Oheim , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] [VOTE] Automatic Property Initialization From: pollita@php.net (Sara Golemon) On Sat, Feb 1, 2014 at 2:55 PM, Chris Wright wrote: > It seems to me that there is no direct conflict here, the two are not > fundamentally incompatible and could quite comfortably co-exist in > HHVM (which is I guess the issue here - you want to ensure that HHVM > can run pure PHP - since there is already a lot of syntax in HHVM that > cannot make the transition the other way). > Correction: I want PHP code to be runnable anywhere, regardless of which platform it was written for. It makes me sad that so few people on this list seem to care about cross-compatibility. > By contrast, the HHVM syntax *does* conflict with the recent extended > keyword support RFC [1], and as a passive observer to the discussion I > gauged a fairly positive reaction to this conceptually, the reason it > was rejected was largely because the implementation was not up to > standard - maybe I misread this but still, I don't recall this > conflict being brought up at the time. The HHVM syntax would also make > any future implementation of something like the recent property > accessors RFC [2] difficult to mix in. > Thank you. This is what I was asking for. A reason that was something more than "HHVM does it so we have to do it differently." That said, I don't like the look of [1] as it blurs the line between the lexer and the parser. The conflict with [2] is a 100% legit argument though. > I love some of things you guys have done with HHVM, but I don't like > the idea of the HHVM implementation of something blocking an alternate > route to the same goal suggested for PHP (especially when there is no > direct conflict) - otherwise we may as well just throw PHP development > out of the window and let the HHVM team decide where we go. > Again. Don't put words in my mouth. I never said anything about blocking a PHP feature based on a conflict with HHVM. Stop putting words in my mouth. Stop it. > I realise I've made barely anything in the way of material > contributions to PHP, but even looking at it strictly from the point > of view of a user, I know I'm not alone in wanting PHP to do what PHP > does, and not necessarily what HHVM does (but if they coincide, so > much the better). > "So much the better" is my point. I've said repeatedly that "because hhvm does it" is not enough reason for PHP to do it. HOWEVER, it is reason to try to steer the implementations closer together, not drive them apart. > [1] https://wiki.php.net/rfc/keywords_as_identifiers > [2] https://wiki.php.net/rfc/propertygetsetsyntax-v1.2 >