Yeah, Hack for HHVM adds a bunch of stuff to PHP to make it better, including:
- Collection classes like Vector (which is like an array in every other programming language ever) and Map (associative array or hashtable)
- Generics
- Lambda functions
- Asynchronous functions
- Type hinting for intrinsic types (int, string, bool)
Not much public documentation yet, but most bits are in the open source HHVM release, and there are a few blog posts on it (eg. http://www.sitepoint.com/hhvm-hack-part-1/)
- Collection classes like Vector (which is like an array in every other programming language ever) and Map (associative array or hashtable)
- Generics
- Lambda functions
- Asynchronous functions
- Type hinting for intrinsic types (int, string, bool)
Not much public documentation yet, but most bits are in the open source HHVM release, and there are a few blog posts on it (eg. http://www.sitepoint.com/hhvm-hack-part-1/)