hacklang
Here are 88 public repositories matching this topic...
I would really appreciate seeing this limitation documented a little further.
Specifically I would like to understand the issue with merge commits and know if there is a migration path from a codebase with a long history of these to one which would be ready to use fbshipit.
-
Updated
Mar 28, 2019 - Hack
This should be a lint error:
$value = 42;
// ...
foreach ($arr as $value) {
// ...
}Same for function arguments:
function foo(int $value) {
// ...
foreach ($arr as $value) {
// ...
}
}-
Updated
May 19, 2020 - TypeScript
-
Updated
May 20, 2020 - Hack
We allow either arrays or vecs for tuples, and arrays or dicts for shapes. We should require they match the current runtime.
This makes migration slightly harder, but the 'typeassert may return a different value' thing it creates leads to more problems.
-
Updated
Apr 30, 2019
-
Updated
May 28, 2020 - Hack
<<__EntryPoint>>
async function site_main_async(): Awaitable<noreturn> {
$request = Usox\HackTTP\createServerRequestFromGlobals();
\var_dump($request->getUri()->getHost());
exit(0);
}
$ curl -H "Host: docs.hhvm.com" http://localhost:8080
string(0) ""
$ curl http://localhost:8080
string(0) ""
-
Updated
May 21, 2020 - Hack
-
Updated
May 29, 2020 - Hack
-
Updated
Apr 23, 2020 - Hack
Improve this page
Add a description, image, and links to the hacklang topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the hacklang topic, visit your repo's landing page and select "manage topics."
HHVM is missing some
SODIUM_CRYPTO_GENERICHASH_*constants.see : https://www.php.net/manual/en/sodium.constants.php
the missing constants :
const int SODIUM_CRYPTO_GENERICHASH_BYTES = 32;const int SODIUM_CRYPTO_GENERICHASH_BYTES_MAX = 64;const int SODIUM_CRYPTO_GENERICHASH_BYTES_MIN = 16;polyfill : https://github.com/nuxed/crypto/blob/master/src/Nuxed/Crypto/_Private