Possible Duplicate:
curly braces in string
Just came across this piece of code and it got me curious...
$msg .= "–{$mime_boundary}–n";
The $mime_boundary var was specified earlier to be output as a string.
Did a quick test....
$var = "XmytextX";
$str ="some wrapper{$var}end of";
echo $str;
and it does indeed output into the string. I've just never seen this way of outputting a var before.
Couldn't find any documentation on it - can anyone enlighten me?