Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7363 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7446 invoked by uid 1010); 27 Jan 2004 18:02:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7387 invoked from network); 27 Jan 2004 18:02:33 -0000 Received: from unknown (HELO smtp2.pp.htv.fi) (213.243.153.14) by pb1.pair.com with SMTP; 27 Jan 2004 18:02:33 -0000 Received: from localhost.localdomain (cs181008.pp.htv.fi [213.243.181.8]) by smtp2.pp.htv.fi (Postfix) with ESMTP id 294822980DB; Tue, 27 Jan 2004 20:02:32 +0200 (EET) Received: from localhost (localhost.localdomain [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id i0RI2Vpn010054; Tue, 27 Jan 2004 20:02:31 +0200 Date: Tue, 27 Jan 2004 20:02:31 +0200 (EET) Reply-To: Jani Taskinen To: Daniel Convissor Cc: PHP Internals List In-Reply-To: <20040127165125.GB22790@panix.com> Message-ID: References: <20040117185518.57719.qmail@pb1.pair.com> <20040117191510.GA18188@panix.com> <20040117193241.GA17105@prp0.prp.physik.tu-darmstadt.de> <40098EEC.7040800@hristov.com> <40099640.4070901@php.net> <20040117204047.GA23505@panix.com> <20040127165125.GB22790@panix.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES From: sniper@iki.fi (Jani Taskinen) There's open bug about 'register_long_arrays', if it's 'Off', some of the super-globals won't work. --Jani On Tue, 27 Jan 2004, Daniel Convissor wrote: >Greetings: > >The following message got overlooked over the past few days. It'd be >really nice if someone could answer this please so PHP 5 will work... > >Thanks! > >----- Forwarded message ----- > >From: Daniel Convissor >To: PHP Internals List >Date: Sat, 17 Jan 2004 15:40:47 -0500 >Subject: Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES > >On Sat, Jan 17, 2004 at 03:08:32PM -0500, Greg Beaver wrote: >> >> $_SERVER should be populated with argc and argv if variables_order >> includes "S". > >Unfortunately, this isn't working on my system with the >php5-win32-200401161930 snapshot. Perhaps I'm misunderstanding something? > >My variables_order has "GPCS" and register_argc_argv is "On" but >$_SERVER['argv'] isn't there. > >Test script: > >echo "\$_SERVER\n"; >var_dump($_SERVER); > >echo "\n\$_SERVER['argv']\n"; >var_dump($_SERVER['argv']); > >echo "\n\$argv\n"; >var_dump($argv); > >echo 'register_argc_argv = ' . ini_get('register_argc_argv') . "\n"; >echo 'variables_order = ' . ini_get('variables_order') . "\n"; >?> > > >Regardless of the register_argc_argv and variables_order settings in the >php.ini file, the following happens: > $_SERVER is filled with loads of stuff > $_SERVER['argv'] is not set > $argv is set > register_argc_argv says 1 > >The right .ini file is being read, because changing variables_order shows >up in the ini_get() output. > >So, what am I forgetting? > >--Dan > >----- End forwarded message ----- > >