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 ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to