Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7161 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67550 invoked by uid 1010); 17 Jan 2004 20:08:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 67526 invoked from network); 17 Jan 2004 20:08:40 -0000 Received: from unknown (HELO titanium.nocdirect.com) (69.73.154.101) by pb1.pair.com with SMTP; 17 Jan 2004 20:08:40 -0000 Received: from 66-65-38-153.nyc.rr.com ([66.65.38.153] helo=php.net) by titanium.nocdirect.com with asmtp (TLSv1:RC4-MD5:128) (Exim 4.24) id 1AhwkJ-0000DR-Fj for internals@lists.php.net; Sat, 17 Jan 2004 14:08:39 -0600 Message-ID: <40099640.4070901@php.net> Date: Sat, 17 Jan 2004 15:08:32 -0500 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 To: PHP Internals List References: <20040117185518.57719.qmail@pb1.pair.com> <20040117191510.GA18188@panix.com> <20040117193241.GA17105@prp0.prp.physik.tu-darmstadt.de> <40098EEC.7040800@hristov.com> In-Reply-To: <40098EEC.7040800@hristov.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - titanium.nocdirect.com X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - php.net Subject: Re: [PHP-DEV] README.PHP4-TO-PHP5-THIN-CHANGES From: cellog@php.net (Greg Beaver) Indeed, this was very helpful. Perhaps the best path is to add Rasmus's words to THIN-CHANGES: $_SERVER should be populated with argc and argv if variables_order includes "S". If you have specifically configured your system to not create $_SERVER, then of course it shouldn't be there. The change was to always make argc and argv available in the CLI version regardless of the variables_order setting. As in, the CLI version will now always populate the global $argc and $argv variables. Greg Andrey Hristov wrote: > Hi, > Stefan Walk wrote: > >> This has been discussed on internals before. >> See http://www.zend.com/lists/php-dev/200310/msg00026.html and >> follow-ups. >> > Thanks for pointing out this discussion. > > Andrey