Re: Re: [PREVOTE] PHP Engine Constants

From: Date: Tue, 06 Sep 2016 22:22:32 +0000
Subject: Re: Re: [PREVOTE] PHP Engine Constants
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-95707@lists.php.net to get a copy of this message
On Tue, Sep 6, 2016 at 2:51 PM, Dan Ackroyd <danack@basereality.com> wrote: > On 6 September 2016 at 22:39, Davey Shafik <davey@php.net> 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 — A simple string denoting the runtime engine, e.g. php 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

« previous php.internals (#95707) next »