PHP 4.0 Bug #3149: Unable to pass "-" or "+" as parameter when running as command-line

From: Date: Sat, 08 Jan 2000 20:27:29 +0000
Subject: PHP 4.0 Bug #3149: Unable to pass "-" or "+" as parameter when running as command-line
Groups: php.dev 
Request: Send a blank email to php-dev+get-14431@lists.php.net to get a copy of this message
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?

« previous php.dev (#14431) next »