Pear windows installation paths.
| From: | Plamen Ivanov | Date: | Tue, 12 Jul 2011 21:18:59 +0000 |
| Subject: | Pear windows installation paths. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-314028@lists.php.net to get a copy of this message | ||
Running PHP 5.3.6 Windows VC9 zipped binaries (windows.php.net).
I got the following messages after running 'pear' in the command line:
PHP Parser error: syntax error, unepxected '@' in
C:\php\PEAR\pearcmd.php on line 28
PHP Parser error: syntax error, unepxected '@' in
C:\php\PEAR\pearcmd.php on line 28
Because of the backslashes windows uses in paths, the last single
quote gets escaped.
Replacing \' with \\' fixes the problem.
Just wondering if this is a bug or expected behavior?