Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

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

Open
pavlov99 opened this issue Jul 3, 2021 · 0 comments · May be fixed by #30
Open

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

pavlov99 opened this issue Jul 3, 2021 · 0 comments · May be fixed by #30

Comments

@pavlov99
Copy link

pavlov99 commented Jul 3, 2021

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?

@lexidor lexidor linked a pull request May 25, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant