Skip to content
A virtual machine for executing programs written in Hack.
C++ Hack OCaml Rust C PHP Other
Branch: master
Clone or download

Latest commit

alexeyt and facebook-github-bot Work around merge conflict beween D21538253 and D21623084
Summary: I accidentally broke 2 tests by landing the stack containing D21538253, since it took the opposite approach to the already landed D21623084 on whether HPHP_TEST_TMPDIR should end in a / or not. Temporarily disable the invariant until I can fix the affected tests using HPHP_TEST_TMPDIR directly and re-enable it. We don't need to touch the HN copy because the affected tests have not made it on to the HN whitelist yet.

Reviewed By: fredemmott

Differential Revision: D21798065

fbshipit-source-id: 453cabbedd2627a0698c7bf559d088b4c443c0ec
Latest commit 1346406 May 29, 2020

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE Improve bug report github issue template (#8705) May 20, 2020
CMake Add oniguruma to third-party/ and fix link order (#8686) Apr 22, 2020
hphp Work around merge conflict beween D21538253 and D21623084 May 29, 2020
patches update FB submodules (#8697) May 6, 2020
third-party update FB submodules (#8697) May 6, 2020
.gitignore Add vscode directories to gitignore (#8627) Dec 12, 2019
.gitmodules update fmt, stop submoduling it (#8677) Apr 4, 2020
CMakeLists.txt Clean up CMake May 1, 2018
CODE_OF_CONDUCT.md Adopt Contributor Covenant Aug 30, 2019
CONTRIBUTING.md Use HTTPS instead of HTTP Feb 14, 2018
LICENSE.PHP Removed a bit of trailing whitespace Feb 13, 2014
LICENSE.ZEND Removed a bit of trailing whitespace Feb 13, 2014
README.md Remove PHP7 from the README (#8616) Dec 2, 2019
SECURITY.md Split security policy out from README.md to SECURITY.md (#8508) May 28, 2019
configure Update configure Apr 6, 2015

README.md

HHVM

HHVM page | HHVM documentation | Hacklang page | General group | Dev group | Twitter

HHVM is an open-source virtual machine designed for executing programs written in Hack. HHVM uses a just-in-time (JIT) compilation approach to achieve superior performance while maintaining amazing development flexibility.

HHVM should be used together with a webserver like the built in, easy to deploy Proxygen, or a FastCGI-based webserver on top of nginx or Apache.

Installing

If you're new, try our getting started guide.

You can install a prebuilt package or compile from source.

Running

You can run standalone programs just by passing them to hhvm: hhvm example.hack.

If you want to host a website:

  • Install your favorite webserver. Proxygen is built into HHVM, fast and easy to deploy.
  • Install our package
  • Start your webserver
  • Run sudo /etc/init.d/hhvm start
  • Visit your site at http://.../main.hack

Our getting started guide provides a slightly more detailed introduction as well as links to more information.

Contributing

We'd love to have your help in making HHVM better. If you're interested, please read our guide to contributing.

License

HHVM is licensed under the PHP and Zend licenses except as otherwise noted.

The Hack typechecker is licensed under the MIT License except as otherwise noted.

Reporting Crashes

See Reporting Crashes for helpful tips on how to report crashes in an actionable manner.

Security

For information on reporting security vulnerabilities in HHVM, see SECURITY.md.

FAQ

Our user FAQ has answers to many common questions about HHVM, from general questions to questions geared towards those that want to use.

There is also a FAQ for contributors to HHVM.

You can’t perform that action at this time.