#20411 [NEW]: argc, argv
| From: | firmolari at terra dot es | Date: | Wed, 13 Nov 2002 16:20:41 +0000 |
| Subject: | #20411 [NEW]: argc, argv | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-24816@lists.php.net to get a copy of this message | ||
From: firmolari@terra.es
Operating system: Solaris 2.8
PHP version: 4.2.3
PHP Bug Type: Scripting Engine problem
Bug description: argc, argv
I´ve installed PHP 4.2.3 in Solaris 2.8 with the ldap funntions
That´s it.
./configure --with-ldap
Everything works fine except the variables $argc and $argv. They don´t
work.
If you use
echo "Value of ARGC = $argc"; it doesn´t work.
I´ve sured myself that the register_argc_argv varible is set to "1".
That´s a bug from this version. My previous version intalled was PHP 4.1.1
(without LDAP) and work ok both variables.
EXAMPLE:
<?php
// File: bug.php
echo "The value is $argc";
?>
Command:
>php bug.php 123
RESULT:
The value is
------------------------
--
Edit bug report at http://bugs.php.net/?id=20411&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20411&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20411&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20411&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20411&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20411&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20411&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20411&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20411&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20411&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20411&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20411&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20411&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20411&r=isapi