HHVM 4.151
HHVM 4.151 is released! This release marks the end of support of 4.145; 4.146 - 4.150 remain supported, as do the 4.102 and 4.128 LTS releases.
Highlights
- Added IDE hover information for class constants when the type is inferred.
hphpd_break
andhphp_debug_break
are now marked as pure.- Add an IDE quickfix for non-existent type names.
- Adds a new constant (
HHVM_COMPILER_TIMESTAMP
) and read-only ini setting (ini_get('hphp.compiler_timestamp')
) that contain the timestamp to build hhvm (which is itself part of theHHVM_COMPILER_ID
andhphp.compiler_id
constant and ini setting). abstract enum class
is not considered an experimental feature any more.
Breaking Changes
- The key type of a
dict
or akeyset
is now always inferred as a subtype ofarraykey
even when used withdynamic
. For example, previously the key type could be inferred as types likeint|dynamic
and now it would beint|(dynamic&arraykey)
in that case.