En

HHVM官网普通更新(2020-01-13)

来源:HHVM官网 发布日期:2020-01-13 阅读次数:578 评论:0

基本信息

发布日期:2020-01-13(官方当地时间)

更新类型:普通更新

更新版本:4.40

感知时间:2020-01-21 07:40:04

风险等级:未知

情报贡献:TSRC

更新标题

普通更新

更新详情

HHVM 4.40 is released! This release marks the end of support for 4.33;
hhvm 4.34–4.39 remain supported, as do the 4.8 and 4.32 LTS releases.Breaking Changes specifying the same XHP attribute twice () is now
a syntax errorFuture ChangesA change last year unintentionally made the parser accept arbitrary types
for XHP children declarations, however: this remains unsupported by the XHP class library.
the typechecker does not validate children.
this can lead to impossible-to-satisfy children declarations, such as
references to undefined types.We are changing the typechecker to verify that XHP children declarations do
not refer to undefined types; in the context of XHP children declarations, the
following types will be considered valid by the typechecker: the case-sensitive special values pcdata, any, or empty.
XHP category names, such as %foo.
a defined, non-aliased, non-generic Hack type, such as a class name, XHP
classname, or interface.We expect this change to be included in 4.41.There are some additional things to be aware of: only the declaration is validated; the typechecker will not verify that
provided children actually match the declaration. This will remain a
runtime-only check, which must be supported by the XHP class library.
there are no typechecker checks for XHP categories in children declarations.
types other than XHP class names - such as standard classes or interfaces -
may not be fully supported by the XHP class library.
type aliases are not permitted.Additionally, this release includes disabled support for xhp class foo {}
as an alternative syntax to class :foo {}; this is to unblock future work on
improving interactions between XHP and namespaces - usage is not recommended at
this time.

软件描述

HHVM (HipHop Virtual Machine)会将PHP代码转换成高级别的字节码(通常称为中间语言)。然后在运行时通过即时(JIT)编译器将这些字节码转换为x64的机器码

CVE编号

TSRC分析

暂无

业界资讯

暂无

评论

提交评论 您输入的评论有误,请重新输入