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扩展注册类的问题 #144

Open
keaixiaou opened this issue Oct 9, 2016 · 1 comment
Open

php扩展注册类的问题 #144

keaixiaou opened this issue Oct 9, 2016 · 1 comment

Comments

@keaixiaou
Copy link

看你的例子里注册类是zend_register_internal_class_ex(&ce TSRMLS_CC);
但是我实际使用的时候 error: too few arguments to function call, expected 3, have 1
Huaerjie_ce=zend_register_internal_class_ex(&ce TSRMLS_CC);
的错误,改为zend_register_internal_class_ex(&ce,NULL,NULL TSRMLS_CC);
就好了,请问是php版本的缘故么?
我的版本是5.6.24

@keaixiaou
Copy link
Author

发现问题了,是我这边的函数写错了

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