Re: Is it possible introduce HHVM into PHP kernel tree?
| From: | Levi Morrison | Date: | Fri, 03 Jan 2014 18:58:03 +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-70988@lists.php.net to get a copy of this message | ||
> > It's my understanding that HHVM is incomplete, as well. Does HHVM
> implement
> > the full basic functionality of PHP? Are there still things which don't
> work
> > for performance reasons?
> >
> Syntax: Yes, HHVM is an equivalent engine.*
> Runtime Library: This is the big gap. PHP has a bunch of bundled
> extensions and a massive library of PECL extensions. Since the
> extension API is very different, each extension has to be
> reimplemented, and not all of them have been.
>
Unless some commits have been merged that I am not aware of, you still
can't use callable type-hints (https://github.com/facebook/hhvm/issues/1363).
While I can't imagine it is difficult for HHVM to finish support for the
callable type-hint, it does show an example of a major compatibility issue
as your code will not run at all.
My opinion: it's not stable enough... yet.