ID: 3149 Updated by: yohgaki Old Summary: Unable to pass "-" or "+" as parameter when running as command-line Reported By: [EMAIL PROTECTED] 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] [EMAIL PROTECTED] - seems to work OK, but + doesn't work indeed because of URL translation. ------------------------------------------------------------------------ [2000-01-08 15:27:29] [EMAIL PROTECTED] 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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]