HHVM and Hack Documentation
- A quick introduction to some of Hack's major features.
- Five simple steps to installing Hack, and making your first program.
- Tools to help you build Hack apps, like Nuclide - our IDE - or PHP to Hack migration helpers.
- Common information and questions around Hack.
- Introducing typing of parameters, variables, and return values, to prevent errors and make code more readable.
- Hack introduces async programming to PHP, letting your apps scale better and reduce blocking.
- Improving upon PHP’s arrays with Vectors, Sets, Maps, and other Collections.
- An easily reusable and customizable UI system that automatically handles escaping and XSS protection.
- The bread and butter tool of Hack to ensure code type safety.
- Adding structure and type-checking to arrays used as structs or records.
- Bundle together values of possibly different types.
- First-class enumeration types.
- Code that works with multiple types and is type safe.
- Create complex type structures with type aliases
- A simplified closure syntax.
- An alternative to generics with types declared as members of a class.
- Decorate classes and methods with meta information.
- Hack has various operators like null-safe and lambda.
- An alternative to the PHP callable typehint.
- Various other Hack features like constructor parameter promotion.
- Hack doesn't support some common PHP features and idioms.
Full reference docs for all functions, classes, interfaces, and traits in the Hack language.
- Get started with HHVM quickly and easily.
- How to install HHVM on a supported platform.
- The easiest way to run HHVM, with sensible defaults.
- Advanced usage, with more ways to run and configure HHVM.
- How to configure HHVM with various user-configurable options.
- The built in and dynamic extensions that HHVM currently supports.
- Differences between HHVM and the PHP engine when running code.
- Common information and questions regarding HHVM.