RE: [PHP-DEV] Bug #13183: \ at end of literal causes parsing error
| From: | Angel \"Java\" Lopez | Date: | Thu, 06 Sep 2001 19:43:02 +0000 |
| Subject: | RE: [PHP-DEV] Bug #13183: \ at end of literal causes parsing error | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-65280@lists.php.net to get a copy of this message | ||
But it seems a "feature" rather than a "bug"..... ;-)
Angel "Java" Lopez
----- Original Message -----
From: <php@workingsites.co.uk>
To: <php-dev@lists.php.net>
Sent: Thursday, September 06, 2001 4:21 PM
Subject: [PHP-DEV] Bug #13183: \ at end of literal causes parsing error
> From: php@workingsites.co.uk
> Operating system: Linux
> PHP version: 4.0.6
> PHP Bug Type: Scripting Engine problem
> Bug description: \ at end of literal causes parsing error
>
>
> Fails
>
> <?
>
> echo 'Set ts = fso.CreateTextFile("c:\';
>
> ?>
>
> Suceeds
>
> <?
>
> echo 'Set ts = fso.CreateTextFile("c:\\';
>
> ?>
>
> If a \ is the last character of a string literal then a parse error is
> raise.
> --