PHP 虚拟机 HHVM 3.24 正式发布:结束对 PHP 5 的支持

栏目: PHP · 发布时间: 8年前

内容简介:PHP 虚拟机 HHVM 3.24 正式发布:结束对 PHP 5 的支持

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 支持的最后一个版本。

有以下值得关注的更新亮点:

  • In Hack code, reference arguments must now be marked at the call site, e.g. $foo = [3, 1, 2]; sort(&$foo);

  • Support for using blocks - an alternative to destructors

  • Improved type inference and type checking for lambdas

  • Added the XHP attribute spread operator

  • Improved the typing of XHP attributes and children

  • Clearer error messages for constraint errors on generic methods

  • Improved handling of multiple debuggers (e.g. hphpd + xdebug)

  • hh_parse now offers a  --full-fidelity-text-json option, which includes node content in the output

  • In partial mode, Hack no longer assumes that any unknown definitions must be defined in PHP

更新内容较多,详情请参阅 发布主页 。

HipHopVM(HHVM) 是 Facebook 推出的用来执行 PHP 代码的虚拟机,它是一个 PHP 的 JIT(Just-In-Time) 编译器,同时具有产生快速代码和即时编译的优点。


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

Delivering Happiness

Delivering Happiness

Tony Hsieh / Grand Central Publishing / 2010-6-7 / USD 27.00

http://www.deliveringhappinessbook.com/ The visionary CEO of Zappos explains how an emphasis on corporate culture can lead to unprecedented success. Pay new employees $2000 to quit. Make custome......一起来看看 《Delivering Happiness》 这本书的介绍吧!

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

URL 编码/解码
URL 编码/解码

URL 编码/解码

html转js在线工具
html转js在线工具

html转js在线工具