PHP 4.0 Bug #3149 Updated: Unable to pass "-" or "+" as parameter when running as command-line
| From: | stas@php.net | Date: | Tue, 12 Dec 2000 10:16:33 +0000 |
| Subject: | PHP 4.0 Bug #3149 Updated: Unable to pass "-" or "+" as parameter when running as command-line | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-40938@lists.php.net to get a copy of this message | ||
ID: 3149
Updated by: stas
Reported By: gblatz@blatzheim.com
Old-Status: Open
Status: Analyzed
Bug Type: Feature/Change Request
Assigned To:
Comments:
- seems to work OK, but + doesn't work indeed because of URL
translation.
Previous Comments:
---------------------------------------------------------------------------
[2000-01-08 15:27:29] gblatz@blatzheim.com
It is impossible to pass parameters containing "-" or "+" when running php as
command-line script.
Even a parameter like "test-2-test" (containing dash not as first character) or
"+41123456789" will fail.
For example
test.php3 test-2-test
or
test.php3 +41123456789
will fail. I find no way to escape these characters to pass them. Maybe even more will be not
allowed?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=3149