内容简介:HHVM 3.29此外,还有大量带来破坏兼容性的变化,详情请源码下载:
HHVM 3.29 发布了 ,这个版本的主要变更集中在类型检查器上(typechecker),包括针对已经在运行时失败的情况引发类型错误,或者禁止使类型系统不健全的罕见情况。
新特性
-
[hackfmt] added support for
// hackfmt-ignorecomments, 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
isexpressions in pipe expressions -
[typechecker] fix handling of
asexpressions inlistassignments, e.g.list($a, $b) = $mixed as (int, int); -
[typechecker+HackC] support unambiguous
asexpressions 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) 编译器,同时具有产生快速代码和即时编译的优点。
以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网
猜你喜欢:- 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 虚拟机
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
Think Python
Allen B. Downey / O'Reilly Media / 2012-8-23 / GBP 29.99
Think Python is an introduction to Python programming for students with no programming experience. It starts with the most basic concepts of programming, and is carefully designed to define all terms ......一起来看看 《Think Python》 这本书的介绍吧!