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

PHP_MAXPATHLEN is not defined #1143

Closed
tmotyl opened this issue Oct 8, 2013 · 1 comment
Closed

PHP_MAXPATHLEN is not defined #1143

tmotyl opened this issue Oct 8, 2013 · 1 comment

Comments

@tmotyl
Copy link
Contributor

tmotyl commented Oct 8, 2013

PHP_MAXPATHLEN constant is not defined. It is available since PHP 5.3.0.

proof :
run

and you'll get
HipHop Notice: Use of undefined constant PHP_MAXPATHLEN - assumed 'PHP_MAXPATHLEN' in ...

Lack of this constant makes TYPO3 unit tests fail https://github.com/facebook/hiphop-php/blob/master/hphp/test/frameworks/results/typo3.expect

hphp/hhvm/hhvm --version
HipHop VM v2.1.0-dev (rel)
Compiler: heads/master-0-g1df9eec73cc541cff1bbc13bf26fe08a671c6757
Repo schema: bf1fcdf00267edac7294631d680ff06a518924d8

@scannell
Copy link
Contributor

scannell commented Oct 8, 2013

Thanks for reporting this. Feel free to submit a PR if you get to this before we do.

tmotyl added a commit to tmotyl/hiphop-php that referenced this issue Oct 9, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants