ZEND_INIT_MODULE_GLOBALS problem

From: Date: Fri, 21 Sep 2001 19:52:46 +0000
Subject: ZEND_INIT_MODULE_GLOBALS problem
Groups: php.dev 
Request: Send a blank email to php-dev+get-66308@lists.php.net to get a copy of this message
I've run into the following problem recently: PHP_MINIT(foo) { ZEND_INIT_MODULE_GLOBALS(foo, NULL, NULL); } If ZTS is not defined then the compilation aborts with "called object is not a function" because ZEND_INIT_MODULE_GLOBALS tries to call NULl as a function name. How should this be corrected? -Andrei Documentation is worth it just to be able to answer all your mail with 'RTFM'. -- Alan Cox

« previous php.dev (#66308) next »