Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7602 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15751 invoked by uid 1010); 5 Feb 2004 07:17:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15695 invoked from network); 5 Feb 2004 07:17:35 -0000 Received: from unknown (HELO blacksheep.csh.rit.edu) (129.21.60.6) by pb1.pair.com with SMTP; 5 Feb 2004 07:17:35 -0000 Received: from fury.csh.rit.edu (fury.csh.rit.edu [IPv6:2001:470:1f00:135:a00:20ff:fe8d:5399]) by blacksheep.csh.rit.edu (Postfix) with ESMTP id D63196A9 for ; Thu, 5 Feb 2004 02:17:34 -0500 (EST) Received: by fury.csh.rit.edu (Postfix, from userid 37404) id 874FF1396; Thu, 5 Feb 2004 02:17:34 -0500 (EST) Date: Thu, 5 Feb 2004 02:17:33 -0500 To: internals@lists.php.net Message-ID: <20040205071733.GA26688@csh.rit.edu> Mail-Followup-To: internals@lists.php.net References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [PHP-DEV] php-cgi command line switch memory check From: jon@php.net (Jon Parise) On Wed, Feb 04, 2004 at 03:26:41PM -0800, Rasmus Lerdorf wrote: > The point of the question here is if anybody remembers why we decided not > to parse command line args for the cgi version? ... > As far as I can tell this wouldn't conflict with anything, but somebody at > some point must have had a reason for disallowing this. It looks like it's been that way since revision 1.1 of cgi_main.c (from over four years ago): http://cvs.php.net/co.php/php-src/sapi/cgi/cgi_main.c?login=2&r=1.1 Some additional archaeology says that this logic goes back to PHP 3 (main.c revision 1.354, from 5 years, 11 months ago): http://cvs.php.net/diff.php/php3/main.c?login=2&r1=1.354&r2=1.355&ty=h I was kind of hoping it was something you had committed, but no such luck. =) -- Jon Parise (jon@php.net) :: The PHP Project (http://www.php.net/)