HHVM 3.29.1 和 3.27.4 发布了,这两个版本均包含 Bugfix 和功能改进:
3.29.1
- Fix reversed assignment when lambdas have multiple
inout
parameters - This release is available for Ubuntu 18.10 Cosmic
- Significantly reduced lock contention when not running in repo-authoritative mode
- Fix incorrect results for experimental HSL regex when combined with offset capture
- Support building on systems where
$PATH
includes spaces
3.27.4
- Fix reversed assignment when lambdas have multiple
inout
parameters - Support
stream_await()
on FDs when using CLI server (included in 3.29.0) stream_await()
will throw anInvalidOperationException
if called on an unawaitable file descriptor. This includes actual on-disk files on Linux, as they are not supported by epoll. We recommend that callers attempt tostream_await()
, and handle this exception if neccessary. The stream metadata can not be used to identify whether or not a stream is awaitable – for example,hhvm foo.php
has an awaitableSTDIN
, buthhvm foo.php < myfile
has an awaitableSTDIN
on MacOS (kqueue) but not on Linux (epoll). In prior releases, behavior varied; the most common result was writing an error toSTDOUT
, and the awaitable not resolving, with request timeout eventually being reached (included in 3.29.0)
开发团队表示,对最后一个 issue 的修复在技术上属于 BC break(破话了向后兼容性,backward compatibility),但还是将其引入了该版本中,不然项目会出现更大的问题。
下载地址:https://github.com/facebook/hhvm/releases
转自 https://www.oschina.net/news/101364/hhvm-3-29-1-released