En

HHVM官网普通更新(2021-05-04)

来源:HHVM官网 发布日期:2021-05-04 阅读次数:247 评论:0

基本信息

发布日期:2021-05-04(官方当地时间)

更新类型:普通更新

更新版本:4.108

感知时间:2021-05-05 08:45:10

风险等级:未知

情报贡献:TSRC

更新标题

普通更新

更新详情

HHVM 4.108 is released!
HHVM 4.103–4.107 remain supported, as do the 4.80 and 4.102 LTS releases.Highlights The
Hack Standard Library
is now a built-in part of HHVM. Hack projects can now call any HSL functions
without downloading and installing any extra packages.

This includes
HSL IO,
which is no longer considered experimental. Other parts of
hsl-experimental
are not yet included.


Constraints (as/super) on abstract
context constants
are now supported.
The HHVM runtime currently doesn’t allow using
meth_caller()
with a private or protected method (even within the same class hierarchy),
but these runtime errors are not detected by the Hack typechecker. A new
.hhconfig option, meth_caller_only_public_visibility = true, can be used
to raise Hack errors in these cases. However, the plan is to support private
and protected methods in meth_caller() in the future, at which point this
.hhconfig option will become unnecessary.Future Changes Functions in the Str\ namespace in the (now built-in) Hack Standard Library
will no longer respect the system/request locale. Instead, they will default
to using the
POSIX (also known as C) locale.

In the future, we expect most of them to accept additional parameter(s)
overriding the default locale and encoding, but these may not be available
immediately.
Removing the dependency on a global locale setting will allow these
functions to be considered “pure” (they can be called from other functions
with any
contexts,
including an empty context list).

软件描述

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

CVE编号

TSRC分析

暂无

业界资讯

暂无

评论

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