Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include/Require bug #51

Closed
kormichu opened this issue Feb 28, 2010 · 2 comments
Closed

Include/Require bug #51

kormichu opened this issue Feb 28, 2010 · 2 comments

Comments

@kormichu
Copy link

I noticed that include/require doesn't work if it's argument is a variable. For example:

$path = 'test.php';
require_once $path;

return an error:

[1, {
"BadPHPIncludeFile":
[{"c1":["/home/deallas/hiphop/hiphop-php/src/zf.php",0,0,23,19],"d":"require_once $path","s":0,}
]
}]
@chrisgraham
Copy link

This is normal, but the documentation could use clarification here. Possibly this only works with AllDynamic and --force, but I'm not sure.

@scottmac
Copy link
Contributor

Can you try with the latest version, this shouldn't be an issue if all the files were defined.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants