Bug #17053: argc,argv not defined when running php -q
| From: | gribnaw at hotmail dot com | Date: | Mon, 06 May 2002 22:40:41 +0000 |
| Subject: | Bug #17053: argc,argv not defined when running php -q | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-7087@lists.php.net to get a copy of this message | ||
From: gribnaw@hotmail.com
Operating system: Windows
PHP version: 4.2.0
PHP Bug Type: *General Issues
Bug description: argc,argv not defined when running php -q
On clean install of Windows binary 4.2.0 installer:
While running php -q on windows release 4.2.0, argc and argv are not
defined. The following script reproduces the error message:
<?php
print $argc;
?>
This worked in 4.0.6.
--
Edit bug report at http://bugs.php.net/?id=17053&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17053&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17053&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17053&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17053&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17053&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17053&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17053&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17053&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17053&r=globals