#20223 [Opn->Bgs]: PHP-CLI '-r' Switch Broken
| From: | iliaa@php.net | Date: | Sun, 03 Nov 2002 05:03:20 +0000 |
| Subject: | #20223 [Opn->Bgs]: PHP-CLI '-r' Switch Broken | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23969@lists.php.net to get a copy of this message | ||
ID: 20223
Updated by: iliaa@php.net
Reported By: mattmurphy@kc.rr.com
-Status: Open
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows Me
PHP Version: 4.3.0-pre2
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
On windows you need to quote the arguments using " not '.
Previous Comments:
------------------------------------------------------------------------
[2002-11-02 18:42:38] mattmurphy@kc.rr.com
PHP 4.2.3, 4.3.0pre1, and 4.3.0pre2 all fail to parse the '-r' option
when used with CLI (php-cli.exe on 4.2.3, and php.exe on the others).
C:\WINDOWS\DESKTOP\php-4.3.0pre2-Win32>php -r 'phpinfo();'
PHP Parse Error: parse error, unexpected $ in Command line code on line
1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20223&edit=1