Home  >  Article  >  Backend Development  >  How does hhvm support php?

How does hhvm support php?

藏色散人
藏色散人Original
2019-05-13 10:20:553792browse

hhvm supports PHP by dynamically translating PHP code into native machine code. HHVM supports PHP and PHP dialect Hack language. The development team announced that HHVM v3.30 will be the last version to support PHP and will stop supporting PHP starting from 4.0.

How does hhvm support php?

HHVM is a PHP virtual machine built by Facebook that dramatically increases speed by dynamically translating PHP code into native machine code. HHVM supports PHP and the PHP dialect Hack language. The development team announced that HHVM v3.30 will be the last version to support PHP and will stop supporting PHP starting with 4.0.

Now that version 4.0 has been released, we see from the release announcement that HHVM 4.0 indeed no longer supports PHP.

How does hhvm support php?

In addition, this version adds support for .hack files, non-experimental support for HSL regular expressions, and removes several PHP-related behaviors, such as :

Remove the behavior that exists in PHP arrays, but not Hack Arrays or Hack Collections

Remove functions that require checking or changing the caller (or method of calling the function), such as compact() , extract(), get_declared_variables(), func_get_args()

Deprecation Reference Manual

The official also stated that it plans to remove support for

The above is the detailed content of How does hhvm support php?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more