#27556 [Opn->Fbk]: argc not working correctly

From: Date: Thu, 11 Mar 2004 00:44:13 +0000
Subject: #27556 [Opn->Fbk]: argc not working correctly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-56267@lists.php.net to get a copy of this message
ID: 27556 Updated by: sniper@php.net Reported By: stan at workflowinc dot com -Status: Open +Status: Feedback -Bug Type: *General Issues +Bug Type: CGI related Operating System: Windows XP PHP Version: 4CVS-2004-03-11 (dev) New Comment: Works fine for me. How exactly are you running the script? And are you using CLI or CGI? Previous Comments: ------------------------------------------------------------------------ [2004-03-10 19:02:36] stan at workflowinc dot com Description: ------------ $_SERVER['argv'] is not detecting any arguments (register_argc_argv in php.ini is turned on). I'm actually working with 4.3.5RC4-dev, it wasn't on the list. Reproduce code: --------------- <?php print_r($_SERVER['argv']); exit; ?> Expected result: ---------------- Array ( [0] => test.php [1] => arg1 ) Actual result: -------------- Array ( [0] => test.php ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27556&edit=1

« previous php.bugs (#56267) next »