Re: Is it possible introduce HHVM into PHP kernel tree?

From: Date: Fri, 03 Jan 2014 16:36:38 +0000
Subject: Re: Is it possible introduce HHVM into PHP kernel tree?
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-70985@lists.php.net to get a copy of this message
On 03/01/14 16:31, Rowan Collins wrote:
It occurs to me that an interesting direction to consider would be moving towards having a PHP language specification, rather than a single reference implementation. Then both the Zend Engine (as distributed by PHP.net) and HHVM could be implementations of that language specification, with documented limitations / deviations. Such a specification might also be useful in other ways - for instance, cross-checking with unit tests and documentation, and establishing clear baselines when discussing RFCs and maintaining (or not) compatibility between releases. Obviously, though, this would require the folks in charge of both implementations to be interested enough in the project to spend time on it. Just a thought...
It's something I'd definitely like to see, and is perhaps something the long-awaited PHP 6 could have. One of PHP's big problems is the fact that there is no real specification whatsoever, only the single Zend implementation. Of course, this presents a problem in specifying PHP's behaviour, as the result would likely be "do exactly what the Zend engine does". Perhaps we'd discover things in Zend which don't work the way they're supposed to, mind. -- Andrea Faulds http://ajf.me/

« previous php.internals (#70985) next »