HHVM 3.24 正式发布:不再支持 PHP 5

综合分类评论1,173字数 270阅读模式

HHVM 3.24 终于发布了,此版本包含新功能、错误修复、性能改进和对未来改进的支持工作。值得注意的是,HHVM 3.24 是支持 PHP 5 的最后一个版本,这包括对 PHP 5 扩展 (ext_zend_compat) 的源码级别兼容性。官方建议迁移到 Hack 或 PHP 7。HHVM 3.24 正式发布:不再支持 PHP 5

此外,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) 编译器,同时具有产生快速代码和即时编译的优点。

文章末尾固定信息

继续阅读
 
joseph
  • 本文由 joseph 发表于 2018年1月17日
  • 除非特殊声明,本站文章许可协议为"署名-非商用-相同方式共享 4.0",转载请保留原链、作者等信息。
鸟哥:PHP Next: JIT 综合分类

鸟哥:PHP Next: JIT

12月23日,由开源中国联合中国电子技术标准化研究院主办的2017源创会年终盛典在北京万豪酒店顺利举行。作为年末最受期待的开源技术分享盛会,国内顶尖技术大拿、知名技术团队、优秀开源项目作者,及近100...
广告也精彩
匿名

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证