Sorry tg, you missed the whole point. Read again.
The escaping works fine for me.. using the code:

$var1 = 1;
$var2 = 3;

echo "\$var1: $var2";
print "\$var1: $var2";
print ("\$var1: $var2");

All output:

$var1: 3

as expected.

Is there a way to re-define the escape character or something?  I can't think 
of why that wouldn't escape the $ properly

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

Reply via email to