#34284 [Opn->Csd]: CLI phpinfo showing html on _SERVER["argv"]
| From: | sniper@php.net | Date: | Sun, 28 Aug 2005 01:03:51 +0000 |
| Subject: | #34284 [Opn->Csd]: CLI phpinfo showing html on _SERVER["argv"] | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-84076@lists.php.net to get a copy of this message | ||
ID: 34284
Updated by: sniper@php.net
Reported By: csaba at alum dot mit dot edu
-Status: Open
+Status: Closed
Bug Type: CGI related
Operating System: Win XP Pro
PHP Version: 5.1.0RC1
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2005-08-28 01:26:26] csaba at alum dot mit dot edu
Description:
------------
If, from the CMD line of my Win XP Pro, I invoke the CLI php.exe to
do:
<? phpinfo() ?>
then I see that only the _SERVER["argv"] line has html markup:
[0] => -
instead of
[0] => -
That seems incorrect, being at odds with the rest of the output
generated, which has no html markup.
Csaba Gabor from Vienna
Reproduce code:
---------------
php.exe -r "phpinfo();"
Expected result:
----------------
...
[0] => -
...
Actual result:
--------------
...
_SERVER["REQUEST_TIME"] => 1125184797
_SERVER["argv"] => Array
(
[0] => -
)
_SERVER["argc"] => 1
...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34284&edit=1