HHVM 3.29 发布,Facebook 打造的 PHP 虚拟机

栏目: 软件资讯 · 发布时间: 5年前

内容简介:HHVM 3.29 发布了,这个版本的主要变更集中在类型检查器上(typechecker),包括针对已经在运行时失败的情况引发类型错误,或者禁止使类型系统不健全的罕见情况。 新特性 [hackfmt] added support for // hackfmt-i...

HHVM 3.29 发布了,这个版本的主要变更集中在类型检查器上(typechecker),包括针对已经在运行时失败的情况引发类型错误,或者禁止使类型系统不健全的罕见情况。

新特性

  • [hackfmt] added support for // hackfmt-ignore comments, to turn off formatting for a node

  • [typechecker] null checks on Shapes::idx() results now refine the type of the shape

  • add support for typed user attributes

其他值得关注的更新

  • [typechecker] correct handling of is expressions in pipe expressions

  • [typechecker] fix handling of as expressions in list assignments, e.g. list($a, $b) = $mixed as (int, int);

  • [typechecker+HackC] support unambiguous as expressions in foreach, e.g. foreach(f($x as nonnull) as $y)

  • [runtime] async curl functions are now natively async again

  • [runtime] handle EINTR (e.g. Xenon) while invoking HackC

  • [runtime] <<__LateInit>> now works correctly for private properties on abstract classes

此外,还有大量带来破坏兼容性的变化,详情请 点此查看

源码下载:https://github.com/facebook/hhvm/releases/tag/HHVM-3.29.0

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


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


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

查看所有标签

猜你喜欢:

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

The  C Programming Language

The C Programming Language

Brian W. Kernighan、Dennis M. Ritchie / Prentice Hall / 1988-4-1 / USD 67.00

Presents a complete guide to ANSI standard C language programming. Written by the developers of C, this new version helps readers keep up with the finalized ANSI standard for C while showing how to ta......一起来看看 《The C Programming Language》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

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

URL 编码/解码