Closed mekras closed 8 years ago
We could create a polyfill for it.
And how to load it? I have never deal with HHVM.
I would make it a separate repository, something like this: https://github.com/indigophp/hash-compat
You can simply check if the function exists or not, as in the linked repo.
You can install it as a development dependency to make the builds green and put it in the suggest section for HHVM.
in the plugins we said hhvm is not a priority. imho its ok to put hhvm into the allowed failures for the build and add a note in the documentation that this currently does not work with hhvm.
if you want to make it work, maybe look how guzzle is doing this, if they do at all support guzzle.
MultiRunner class uses function curl_strerror, which is not supported by HHVM.