Last active
August 29, 2015 13:55
-
-
Save dave1010/8784348 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cat hh.php | |
<?hh class Foo { public function __construct(private int $num) : void { } } | |
$ hhvm --version | |
HipHop VM 2.4.0 (rel) | |
Compiler: tags/HHVM-2.4.0-0-gc82fcd8e6199c500454b1a8b930a876ef2c1522b | |
Repo schema: a536a1d1567b1fb5d722c0349a3296d4e8589f96 | |
$ hhvm hh.php | |
HipHop Fatal error: Parameters modifiers not allowed on methods in /home/base/hh.php on line 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Change it to: