HHVM 4.81
HHVM 4.81 is released! This release marks the end of support for 4.75; HHVM 4.76–4.80 remain supported, as does the 4.56 LTS release.
Highlights
- A new built-in type
AnyArray
was added, representing the parent type of all containers that are values (vec
,dict
,keyset
,varray
,darray
; does not include containers with reference semantics likeVector
). It is a subtype ofKeyedContainer
.
Breaking Changes
- The INI option
hhvm.hack_arr_dv_arr_var_dump
was removed.var_dump
will now always outputvarray
ordarray
instead ofarray
.
Future Changes
- Similarly to
var_dump
,var_export
will also start distinguishing betweenvarray
anddarray
.- Use the INI option
hhvm.hack_arr_dv_arr_var_export=1
to enable this behavior now.
- Use the INI option
- Support for
#
comments will be removed in a future release. Use//
or/*
instead.- Shebang at the beginning of a Hack file will stay supported.