Date: 07/11/98
- Next message: ssb: "[PHP-DEV] CVS update: php31/ext/gd"
- Previous message: ben.lavender <email protected>: "[PHP-DEV] Bug #539: How to prevent PHP3 caching scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ben.lavender <email protected>
Operating system: NT4 SP3
PHP version: 3.0 Final Release
PHP Bug Type: Misbehaving function
Bug description:
How can I test argc in an if statement?
if ( argv > 0)
{
echo ("there are args");
}
this always fails.
[3] Once I have run
Calling hello.php?a=world&b=tree
parse_str($argv[0]);
if ( ! (isset($a) && isset($b)) )
{
echo ("failure");
}
- Next message: ssb: "[PHP-DEV] CVS update: php31/ext/gd"
- Previous message: ben.lavender <email protected>: "[PHP-DEV] Bug #539: How to prevent PHP3 caching scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

