A bulb lights up! Now i understand. I hand-coded the extension source code based on Rasmus' PHP book, and did not use the skeleton.
Thx Andrey "Andrey Hristov" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > It is for thread safety access of globals. Defined in basic_functions.h : > > #ifdef ZTS > #define BG(v) TSRMG(basic_globals_id, php_basic_globals *, v) > extern int basic_globals_id; > #else > #define BG(v) (basic_globals.v) > extern php_basic_globals basic_globals; > #endif > > > andrey -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php