Bug #13183 Updated: \ at end of literal causes parsing error

From: Date: Thu, 06 Sep 2001 19:41:42 +0000
Subject: Bug #13183 Updated: \ at end of literal causes parsing error
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-65278@lists.php.net to get a copy of this message
ID: 13183 Updated by: sander Reported By: php@workingsites.co.uk Old Status: Open Status: Bogus Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0.6 New Comment: Not a bug. \ escapes ' and " See the manual for more info (http://www.php.net/manual/en/language.types.string.php) Previous Comments: ------------------------------------------------------------------------ [2001-09-06 15:21:41] php@workingsites.co.uk 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. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=13183&edit=1

« previous php.dev (#65278) next »