Re: PHP 4.0 Bug #3149: Unable to pass "-" or "+" as parameter when running as command-line
| From: | Khimenko Victor | Date: | Sat, 08 Jan 2000 22:34:18 +0000 |
| Subject: | Re: PHP 4.0 Bug #3149: 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-14435@lists.php.net to get a copy of this message | ||
8-Jan-00 20:27 you wrote:
> From: gblatz@blatzheim.com
> Operating system: Linux
> PHP version: 4.0 Beta 3
> PHP Bug Type: Feature/Change Request
> Bug description: Unable to pass "-" or "+" as parameter when running as
> command-line
> 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?
I've send the same question and proposed patch almost month ago. Looks like
noone is interested in fixing that :-(