#20411 [Opn->Fbk]: argc, argv

From: Date: Wed, 13 Nov 2002 18:03:10 +0000
Subject: #20411 [Opn->Fbk]: argc, argv
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-24818@lists.php.net to get a copy of this message
ID: 20411 Updated by: derick@php.net Reported By: firmolari@terra.es -Status: Open +Status: Feedback Bug Type: Scripting Engine problem Operating System: Solaris 2.8 PHP Version: 4.2.3 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-11-13 10:20:41] firmolari@terra.es 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 this bug report at http://bugs.php.net/?id=20411&edit=1

« previous php.bugs (#24818) next »