HHVM and Hack Documentation
Hack
Learn
Getting Started
教你如何安装 Hack 来运行你的第一个程序,同时也会介绍一些工具。Source Code Fundamentals
基础语法、命名空间、自动加载。Expressions And Operators
表达式、运算符、关联性和优先级。Statements
简单的语句、代码块和循环。Functions
命名函数、匿名函数以及函数参数。Classes
类、接口和 trait。Types
类型检查器。Built In Types
类型检查器支持的原生数据类型。Generics
Generic types, where constraints, and variance.Asynchronous Operations
Asynchronous functions, await, and the concurrent keyword.Attributes
Attaching metadata to Hack programs, built-in attributes and defining your own.XHP
Safe, composable HTML templating.Silencing Errors
HH_FIXME best practices and error codes.
Hack API Reference
Full reference docs for all functions, classes, interfaces, and traits in the Hack language.
Hack Standard Library Reference and Experimental Additions
Full reference docs for all functions, classes, interfaces, and traits in the Hack Standard Library (HSL).
HHVM
Learn
Getting Started
快速上手 HHVMInstallation
在受支持的平台安装 HHVM。Basic Usage
用合理的默认配置运行 HHVM 的最简单的方式。Advanced Usage
高级用法,你可以定制更详尽的配置来运行 HHVM。Configuration
如何配置 HHVM 的各种用户配置。Extensions
HHVM 现有内置扩展列表。FAQ
常见问题