Today I tried to run PHP-GTK with ZE2 changes against current CVS and it segfaulted. I traced it to the fact that PG(http_globals)[TRACK_SERVER_VARS] is no longer available if $_SERVER is not present in the PHP code, due to the changes Zeev (I think) made in order to improve efficiency. I don't quite agree with the way it works right now. My extension needs access to the $_SERVER['argv'] and $_SERVER['argc'] variables internally, even if the user code doesn't. How am I supposed to retrieve those variable if they aren't even registered?
Just out of curiosity (I don't think it's a long term fix) but does eval_string()'ing a string with $_SERVER['argv'] solve the problem?
Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php