Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88521 invoked from network); 17 Mar 2003 21:51:51 -0000 Received: from unknown (HELO hyperion.gravitonic.com) (65.198.110.5) by pb1.pair.com with SMTP; 17 Mar 2003 21:51:51 -0000 Received: (from andrei@localhost) by hyperion.gravitonic.com (8.11.6/8.11.6) id h2HLpLE29835; Mon, 17 Mar 2003 16:51:21 -0500 X-Authentication-Warning: hyperion.gravitonic.com: andrei set sender to andrei@gravitonic.com using -f Date: Mon, 17 Mar 2003 16:51:21 -0500 To: PHP Internals Cc: Zeev Suraski Message-ID: <20030317215120.GA29815@hyperion.gravitonic.com> Mail-Followup-To: Andrei Zmievski , PHP Internals , Zeev Suraski Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Subject: $_SERVER registration issue From: andrei@gravitonic.com (Andrei Zmievski) 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? -Andrei http://www.gravitonic.com/ * "UNIX, isn't that some archaic form of DOS?" - our job applicant *