phpbook icon indicating copy to clipboard operation
phpbook copied to clipboard

php扩展注册类的问题

Open keaixiaou opened this issue 9 years ago • 1 comments

看你的例子里注册类是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 avatar Oct 09 '16 09:10 keaixiaou

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

keaixiaou avatar Oct 09 '16 09:10 keaixiaou