HHVM 4.43 is released! This release marks the end of support for 4.36; HHVM 4.37–4.42 remain supported, as do the 4.8 and 4.32 LTS releases.
Highlights
- We are now building Homebrew packages for MacOS 10.15 Catalina. Please report MacOS-specific issues in the homebrew-hhvm repository.
- Extending an undefined parent class no longer produces a redundant typechecker error 4123 ("Class has a non-<?hh grandparent"), it now only produces the relevant error 2049 ("Unbound name").
- Improved typechecker error message when attempting to declare the type of a
local variable (
int $x = 42;).
Breaking Changes
- Built-in functions
json_decode,str_split,array_fill,class_implements,class_uses,class_parentsnow returndarrayinstead of the legacyarraytype. This change should be largely transparent, asdarrayandarrayare interchangeable at runtime, but the change might be observable byserialize,var_dumpor similar functions. - The
containsmethod onSet,ImmSetandConstSetis now declared to take anarraykeyargument instead ofmixed. The method would already throw at runtime when called with any non-arraykeyvalue.