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

PHP5.6 编译报错 #17

Open
danjian opened this issue May 4, 2019 · 0 comments
Open

PHP5.6 编译报错 #17

danjian opened this issue May 4, 2019 · 0 comments

Comments

@danjian
Copy link

danjian commented May 4, 2019

原因在于第565行
RETVAL_STRINGL(p, plen);
中PHP7这个宏定义只需要两个参数,
而PHP5需要三个

#if PHP_MAJOR_VERSION < 7
    RETVAL_STRINGL(p, plen,0);
#else
    RETVAL_STRINGL(p, plen);
#endif

解决

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

1 participant