Antony Dovgal wrote:
You forgot to add TSRMLS_CC macro:
zend_register_internal_class(&ce TSRMLS_CC);

see also http://www.php.net/manual/en/zend-api.zend-register-internal-class.php

Yeah thanks. It works, but I am wondering why it works without the TSRMLS_CC macro by another self-written class. Both classes were written in php-5.1.1.

Thanks for the notice, that pecl.dev is better than php.internals for such questions.

- Jan Pieper

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to