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_breakandhphp_debug_breakare 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_IDandhphp.compiler_idconstant and ini setting). abstract enum classis not considered an experimental feature any more.
Breaking Changes
- The key type of a
dictor akeysetis now always inferred as a subtype ofarraykeyeven when used withdynamic. For example, previously the key type could be inferred as types likeint|dynamicand now it would beint|(dynamic&arraykey)in that case.