Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95707 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51594 invoked from network); 6 Sep 2016 22:22:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2016 22:22:36 -0000 Authentication-Results: pb1.pair.com header.from=me@daveyshafik.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=me@daveyshafik.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daveyshafik.com from 209.85.216.182 cause and error) X-PHP-List-Original-Sender: me@daveyshafik.com X-Host-Fingerprint: 209.85.216.182 mail-qt0-f182.google.com Received: from [209.85.216.182] ([209.85.216.182:33591] helo=mail-qt0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2A/43-18051-BA14FC75 for ; Tue, 06 Sep 2016 18:22:35 -0400 Received: by mail-qt0-f182.google.com with SMTP id 11so101208640qtc.0 for ; Tue, 06 Sep 2016 15:22:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daveyshafik-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Y9Rb/wEnrqDV6VD+YharJf15sRFWTGo16QG2D/WzcBA=; b=dXgl4Yr/zhVCIcfkd/YSVJXTTeLGyNoqh8PCf5tCM8EKJfomTXMv301euPq3QA36cj sdAsoRESo3ztWeKf0w6MyJgoTHP1z4KKZKBZwPwKlDzubsY7RrnMSpBfhzmZg1AY4qen zOns+C8tutniTNhJnxv+fAVGirUBvyoDBxcR6W8oauQRgonwLIkZ5gGaETCy8t0Lx271 mMon6EF7k+530YM4MX4G+MRM+AYHK8BNTk9lWLqIEuk9Ed7aGgzhK9tWiqATKHQxvvlC 7RNwDXSrgJr/c1hsoj/FUM7xP1QKCXuNE3SapJZfHcs7/kqGfvjG0xNU9c817tsDewuf 22gw== 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:from :date:message-id:subject:to:cc; bh=Y9Rb/wEnrqDV6VD+YharJf15sRFWTGo16QG2D/WzcBA=; b=WIVaMaQ2kyQk6epplE295hQuooX9sI/a08hFY0eRT9GAqexsPq7BIPyG1aYJAAHZse J+mW84+XGfXMqEdXBqY2oRw0TXFVzaLow4zCfGMIM7OBac4ieVwHagrtLXzQ94GhjN3R +O08DGkVSNyLSCjbZqnS72kIm3hv4QsCVaFx06ERn2Lwv1vE3ky7TWULkyrZYZD6weA6 eODLX4HH7Z8A6qF45jp4TMUacd9tH0E6IbSyrYFSIThqIG66yA4XJU0zUmMfNASOWTLy 8uy8dI4m0T52vvOD0IPUsKsyPOH81kvV16hKKTW+23WtVOH3KSy4d1srMdk5xjqo9gBW zGPA== X-Gm-Message-State: AE9vXwOq9LMnG/fEDXj1mYl2IQ6ndeScDZ1G33Cj5NAsz5YHbQjeizqBZ3xlGyFemc9fz9K3JQoCe9RlSieQSQbL X-Received: by 10.237.33.167 with SMTP id l36mr40385192qtc.103.1473200552850; Tue, 06 Sep 2016 15:22:32 -0700 (PDT) MIME-Version: 1.0 Sender: me@daveyshafik.com Received: by 10.237.50.161 with HTTP; Tue, 6 Sep 2016 15:22:32 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Sep 2016 15:22:32 -0700 X-Google-Sender-Auth: ONzDaOGFBLzUutjrRHrMrRTvzgE Message-ID: To: Dan Ackroyd Cc: Andrea Faulds , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113977f4a2d43b053bde3bef Subject: Re: [PHP-DEV] Re: [PREVOTE] PHP Engine Constants From: davey@php.net (Davey Shafik) --001a113977f4a2d43b053bde3bef Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Sep 6, 2016 at 2:51 PM, Dan Ackroyd wrote: > On 6 September 2016 at 22:39, Davey Shafik wrote: > > > > > > The key to this is that it's part of the spec. If you actually want to > > follow the spec, you have to implement it this way. If you don't, then > > you're a bad person. :P > > > Perhaps you can make the RFC text be clearer then. e.g. to this bit: > > "PHP_ENGINE =E2=80=94 A simple string denoting the runtime engine, e.g. p= hp or > hhvm" > > add something like "The contents of the string MUST be unique to the > runtime engine being used." > > because currently, to me, there's nothing in the RFC that actually > says how it needs to be implemented by other engines. I'm not sure how to make this more clear: > This RFC proposes to add a new constant that explicitly denotes the engine being used, and more importantly makes it's use as such part of the language spec. I will try, but any suggestions are welcome - Davey --001a113977f4a2d43b053bde3bef--