From:             stan at workflowinc dot com
Operating system: Windows XP
PHP version:      4.3.5RC3
PHP Bug Type:     Session related
Bug description:  argc not working correctly

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 bug report at http://bugs.php.net/?id=27556&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27556&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27556&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27556&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27556&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27556&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27556&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27556&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27556&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27556&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27556&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27556&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27556&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27556&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27556&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27556&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27556&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27556&r=float

Reply via email to