user-documentation
user-documentation copied to clipboard
Documentation for those that use HHVM and write Hack code.
We should have a guide that documents: - `re"..."` literals (Hack-specific feature) - overview of the `HH\Lib\Regex` namespace from HSL, link to relevant API docs pages - link to an...
Please complete the information below: # Where is the problem? Hack class documentation or in inout documentation # What is the problem? Documentation doesn't appear to mention objects are passed...
`this::X` is late-static-bound semantics for a `const type` in a class. Similar to `static::some_value`. By contrast, `self::X` in a type and `self::some_value` are both resolved to the lexically bound class.
Please complete the information below: # Where is the problem? The \sleep code snippet # What is the problem? I tried to follow the \sleep code but it's not recognized...
Please complete the information below: # Where is the problem? Key Existence vs. Value Existence # What is the problem? `1` and `3` are both valid keys and values. Use...
Please complete the information below: # Where is the problem? ``` We strongly recommend using multiple calls to `queryf()` instead as it escapes parameters; multiple queries can be executed simultaneously...
DockerHub is changing retention to 6 months; this isn't sufficient for LTS images.
# Where is the problem? In https://docs.hhvm.com/hack/contexts-and-capabilities/introduction#parameterized-contexts # What is the problem? Instead of: ``` function throws_foo_or_bar_exception(bool $cond)[ throws, throws // {Throws, Throws} ]: void { ``` -------------------------------- Let's showcase:...
My definition of 'experimental' for this issue is any out of: - explicitly experimental - unannounced - neither, but only usable with .hhconfig and HHVM settings The last is the...