You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PHP code that h2tp outputs cannot be used on PHP 7.1 because iterableis now a reserved word.
This is done on an Ubuntu 16.04 machine that has:
HHVM 3.17.2 (using the dl.hhvm.com/OSL deb repo)
PHP 7.1 (using the PPA from Ondřej Surý)
$ php7.1 -a
Interactive mode enabled
php > require_once '/usr/share/hhvm/hack/hacklib/hacklib.php';
PHP Fatal error: Cannot use 'Iterable' as class name as it is reserved in /usr/share/hhvm/hack/hacklib/containers/interfaces.php on line 97
PHP Stack trace:
PHP 1. {main}() php shell code:0
PHP 2. {main}() php shell code:0
The text was updated successfully, but these errors were encountered:
h2tp was removed from the repo. This is something you can work on by forking h2tp and making modifications there.
Others in the community are interested in creating a similar transpiler using the new full fidelity parser. You can read more about what they are thinking here.
The PHP code that
h2tp
outputs cannot be used on PHP 7.1 becauseiterable
is now a reserved word.This is done on an Ubuntu 16.04 machine that has:
The text was updated successfully, but these errors were encountered: