CLI phpinfo showing html on _SERVER["argv"]
| Bug #34284 | CLI phpinfo showing html on _SERVER["argv"] | ||||
|---|---|---|---|---|---|
| Submitted: | 2005-08-28 01:26 UTC | Modified: | 2005-08-28 03:03 UTC | ||
| From: | csaba at alum dot mit dot edu | Assigned: | |||
| Status: | Closed | Package: | CGI/CLI related | ||
| PHP Version: | 5.1.0RC1 | OS: | Win XP Pro | ||
| Private report: | No | CVE-ID: | None | ||
[2005-08-28 01:26 UTC] 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
...
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-08-28 03:03 UTC] sniper@php.net