Re: Calling PHP functions from an extension

From: Date: Mon, 26 Jul 2004 13:22:27 +0000
Subject: Re: Calling PHP functions from an extension
References: 1 2 3 4 5 6 7 8  Groups: php.internals 
Request: Send a blank email to internals+get-11575@lists.php.net to get a copy of this message
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" <php@hristov.com> wrote in message news:410253F1.7030905@hristov.com... > 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

« previous php.internals (#11575) next »