Reported by fwaggle on Freenode IRC
HHVM Version
3.26.0
Operating System and Version
MacOS High Sierra
Standalone code, or other way to reproduce the problem
<?php
Function hello() {
echo 'hi';
}
hello();
Expected result
hi (this is the output if you replace Function with function, or if you disable hackc)
Actual result
$ hhvm test.php
Fatal error: Uncaught Error: A semicolon (';') is expected here. in /private/tmp/test.php:3
Stack trace:
#0 {main}
Reported by
fwaggleon Freenode IRCHHVM Version
3.26.0
Operating System and Version
MacOS High Sierra
Standalone code, or other way to reproduce the problem
Expected result
hi(this is the output if you replaceFunctionwithfunction, or if you disable hackc)Actual result