Skip to content

php扩展注册类的问题 #144

Description

@keaixiaou

看你的例子里注册类是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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions