| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
Run hackfmt (the hack formatter) on the file
Clean up examples in the hack arrays section
Add a section on the unique binary pipe operator (and variable)
|
|
|
|
|
|
|
| |
* Update documentation for using contains() and contains_key() with dict (previously incorrect)
* Prefer to use HH\Asio\curl_exec() over \file_get_contents
* Add example for enum class (enum of any type)
* Remove incorrect description of `use` keyword in traits
* Fix and improve various explanations in comments
|
|
|
| |
Follow best practices (function should be snake case [do_task()], and methods should be camel case [doTask()])
|
|
|
|
|
| |
This file was updated about 6 years ago. Since then, there have been many changes, including a distancing from PHP. This commit is an overhaul of the previous documentation for learning Hack in Y minutes.
Over the years, there have also been many language changes and updates, for example, the introduction of Hack Arrays (vec, keyset, and dict) and the Hack Standard Language (HSL). To read more about how the language has changed and evolved, you can read the HHVM Blog: https://hhvm.com/blog/.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I had assumed a relative link to another markdown file in this project
would work, but it renders as:
http://learnxinyminutes.com/docs/hack/php.html.markdown
instead of the desired:
http://learnxinyminutes.com/docs/php/
I've replaced this relative link with an absolute link to where the target
page is located on the published site.
This commit also fixes a typo in markdown syntax at the end of the document.
|
|
|