hack-router icon indicating copy to clipboard operation
hack-router copied to clipboard

Examples do not work on hhvm 4.111: Found top-level code in BaseRouterExample.php

Open pavlov99 opened this issue 3 years ago • 0 comments

Hi folks,

I was trying to run examples with recent hhvm and got errors:

$ hhvm --version
HipHop VM 4.111.0 (rel)
Compiler: 1621979252_828765612
Repo schema: d1ae8e21bf3419a65f12a010527485564e719d07

$ hhvm BaseRouterExample.php 

Fatal error: Found top-level code in <path>/hack-router/examples/BaseRouterExample.php on line 17

Could this be addressed? What is the best way to avoid it?

pavlov99 avatar Jul 03 '21 20:07 pavlov99