From: dwalton at acm dot org Operating system: FreeBSD 4.8-STABLE PHP version: 5.0.0RC1 PHP Bug Type: *Configuration Issues Bug description: $_SERVER['argv'] not available without register_argc_argv
Description: ------------ According to the command line docs (http://www.php.net/manual/en/features.commandline.php): "Regardless of version or register_globals setting, you can always go through either $_SERVER or $HTTP_SERVER_VARS. Example: $_SERVER['argv']" This appears to not be the case. While attempting to use $_SERVER['argc'] and $_SERVER['argv'] with the CGI version of 5.0RC1 with register_globals turned off, I discovered they were not being set. However, they do appear when I turn on register_argc_argv (which is only supposed to control $argc and $argv). -- Edit bug report at http://bugs.php.net/?id=27834&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27834&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27834&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27834&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27834&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27834&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27834&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27834&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27834&r=support Expected behavior: http://bugs.php.net/fix.php?id=27834&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27834&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27834&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27834&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27834&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27834&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27834&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27834&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27834&r=float
