Bug #3149 Updated: Unable to pass "-" or "+" as parameter when running as command-line
| From: | yohgaki@php.net | Date: | Mon, 28 Jan 2002 21:47:17 +0000 |
| Subject: | Bug #3149 Updated: Unable to pass "-" or "+" as parameter when running as command-line | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78347@lists.php.net to get a copy of this message | ||
ID: 3149
Updated by: yohgaki
Old Summary: Unable to pass "-" or "+" as parameter when running as
command-line
Reported By: gblatz@blatzheim.com
Old Status: Analyzed
Status: Closed
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 4.0 Beta 3
New Comment:
I guess this is already done with CLI SAPI, isn't?
Previous Comments:
------------------------------------------------------------------------
[2000-12-12 05:16:32] stas@php.net
- seems to work OK, but + doesn't work indeed because of URL
translation.
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=3149&edit=1