HHVM 3.24 终于发布了,此版本包含新功能、错误修复、性能改进和对未来改进的支持工作。值得注意的是,HHVM 3.24 是支持 PHP 5 的最后一个版本,这包括对 PHP 5 扩展 (ext_zend_compat
) 的源码级别兼容性。官方建议迁移到 Hack 或 PHP 7。
此外,HHVM 3.24 也是对 Debian 7 Wheezy 和 Ubuntu 17.04 Zesty 支持的最后一个版本。
有以下值得关注的更新亮点:
$foo = [3, 1, 2]; sort(&$foo);
using
blocks – an alternative to destructorshh_parse
now offers a --full-fidelity-text-json
option, which includes node content in the output更新内容较多,详情请参阅 发布主页 。
HipHopVM(HHVM) 是 Facebook 推出的用来执行 PHP 代码的虚拟机,它是一个 PHP 的 JIT(Just-In-Time) 编译器,同时具有产生快速代码和即时编译的优点。