Bug(?) in quotes and \ escaping

From: Date: Sat, 09 Dec 2000 18:48:25 +0000
Subject: Bug(?) in quotes and \ escaping
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29490@lists.php.net to get a copy of this message
Is this a bug? $l = '\'; <--- syntax error, in the next line as the string is not terminated(!) $l = '\\' <--- correct, $l is assigned the value of a single \ I thought that only double-quotes (") interpret what's inside them. The goal here is to assign $l a single baskslash char. -Stathis.

« previous php.general (#29490) next »