Pear windows installation paths.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux