|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-09 12:16 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 11:00:02 2025 UTC |
I use Debian/SIDs standard php4 as of 08/11/2001 Here is the Script to reproduce the Problem: <? var_dump($argv); ?> When I call the script like this: nsn@nsn:~ > php4 -q test.php a+b var_dump tells me I gave the Script 2 Parameters (a and b) Actually I gave it 1 Parameter ('a+b'). I think PHP url-decodes the argvs before interpretion, but when I call the Script like this: nsn@nsn:~ > php4 -q test.php a%2bb (with %2b being the url-endoded String for +) PHP does not url-decode the String properly. As it seems it is not possible to send a string containing the character '+' to PHP on the command line. please excuse my rather bad english regards Michael Bayer [mo@schlund.de]