内容简介: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 shapeadd support for typed user attributes
其他值得关注的更新
[typechecker] correct handling of
is
expressions in pipe expressions[typechecker] fix handling of
as
expressions inlist
assignments, e.g.list($a, $b) = $mixed as (int, int);
[typechecker+HackC] support unambiguous
as
expressions inforeach
, 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]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
猜你喜欢:- HHVM 3.29 发布,Facebook 打造的 PHP 虚拟机
- HHVM 3.30.3 发布,Facebook 打造的 PHP 虚拟机
- 用rust-vmm打造未来的虚拟化架构
- HHVM 4.3.0 发布,Facebook 打造的 PHP 虚拟机
- HHVM 4.3.0 发布,Facebook 打造的 PHP 虚拟机
- HHVM 4.4.0 发布,Facebook 打造的 PHP 虚拟机
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
The Book of CSS3
Peter Gasston / No Starch Press / 2011-5-13 / USD 34.95
CSS3 is the technology behind most of the eye-catching visuals on the Web today, but the official documentation can be dry and hard to follow. Luckily, The Book of CSS3 distills the heady technical la......一起来看看 《The Book of CSS3》 这本书的介绍吧!