Bug #16797: argc/argv in $_SERVER?
| From: | pete at mdsc dot com | Date: | Wed, 24 Apr 2002 15:18:48 +0000 |
| Subject: | Bug #16797: argc/argv in $_SERVER? | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-5840@lists.php.net to get a copy of this message | ||
From: pete@mdsc.com
Operating system: Linux RedHat 7.2 i386
PHP version: 4.2.0
PHP Bug Type: PHP options/info functions
Bug description: argc/argv in $_SERVER?
After turning off register_globals in PHP 4.2.0, the behavior of
register_argc_argv is not what I expected. When using the CGI SAPI, and
setting register_globals to Off and register_argc_argv to On, the argc and
argv values are only available in the $_SERVER array. It seems to me that
they should be in $GLOBALS. Is this the intended operation?
--
Edit bug report at http://bugs.php.net/?id=16797&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16797&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16797&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16797&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16797&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16797&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16797&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16797&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16797&r=submittedtwice