Re: Getting global variable in a multithreaded PHP embedded application
| From: | Johannes Schlüter | Date: | Fri, 05 Jan 2007 11:18:10 +0000 |
| Subject: | Re: Getting global variable in a multithreaded PHP embedded application | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27271@lists.php.net to get a copy of this message | ||
Hi Roberto,
On Fri, 2007-01-05 at 11:33 +0100, Roberto Fichera wrote:
> Now my problem is how to find declared functions in a context. Which hash table
> I have to use?
Just take a look at the structure behind the executor_globals EG struct:
http://lxr.php.net/source/ZendEngine2/zend_globals.h#147
to see which
HashTable might contain the function_table. In that structure you might
find other useful elements )(maybe you need the class table or constants
table, too?) ;-)
johannes