Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
At 13.05 05/01/2007, Roberto Fichera wrote: >At 12.33 05/01/2007, Roberto Fichera wrote: >>At 12.18 05/01/2007, Johannes Schlüter wrote: >> >>>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 >>>h

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
At 12.33 05/01/2007, Roberto Fichera wrote: >At 12.18 05/01/2007, Johannes Schlüter wrote: > >>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 a

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
At 12.18 05/01/2007, Johannes Schlüter wrote: >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:

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Johannes Schlüter
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

Re: [PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
At 10.25 05/01/2007, you wrote: >Hi All, > >I'm just new to php embed application but I'm at good point >after some work/fighting with the engine API. My intention is >to run different php scripts in a multithreaded application at the >same time. Furthermore I don't need to make some php >inter

[PHP-DEV] Getting global variable in a multithreaded PHP embedded application

2007-01-05 Thread Roberto Fichera
Hi All, I'm just new to php embed application but I'm at good point after some work/fighting with the engine API. My intention is to run different php scripts in a multithreaded application at the same time. Furthermore I don't need to make some php intercomunications and/or parallel script exe