On 16.01.2006 19:38, Jan Pieper wrote:
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.

Because in that case your code was compiled without thread safety enabled (and TSRMLS_* macros were not used at all, i.e. they were defined as empty).

--
Wbr, Antony Dovgal

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

Reply via email to