Re: problem with zend_register_internal_class
| From: | Jan Pieper | Date: | Mon, 16 Jan 2006 16:38:32 +0000 |
| Subject: | Re: problem with zend_register_internal_class | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-21559@lists.php.net to get a copy of this message | ||
Antony Dovgal wrote: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 PieperYou 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