module global becomes executor globals then back again
| From: | Nick Loeve | Date: | Sun, 04 Sep 2005 10:18:40 +0000 |
| Subject: | module global becomes executor globals then back again | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-2848@lists.php.net to get a copy of this message | ||
Hi!
I have a wierd problem in an extension i am developing, and was hoping
to get some pointers on how to debug it.
I have a global variable in my module, that gets initialized as an array
at module start up. I have a function that returns that array, and the
first request that gets serviced returns that array as expected.
Any subsequent requests return the entire executor globals with the
$GLOBALS referencing itself??
If i wait 2 mins (and am guessing that the apache processes die and
respawn) then the array is returned correctly again the first time, but
not on subsequent requests.
I am using a current CVS export of 5_1 and Apache 1.3.
Any pointers would be appreciated.
Cheers
Nick Loeve