Whats the {} tag do in php?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2596837/curly-braces-in-string">curly braces in string</a>  </p>
</blockquote>



<p>Just came across this piece of code and it got me curious...</p>

<pre><code>$msg .= "–{$mime_boundary}–n";   
</code></pre>

<p>The $mime_boundary var was specified earlier to be output as a string. </p>

<p>Did a quick test....</p>

<pre><code>$var = "XmytextX";
$str ="some wrapper{$var}end of";
echo $str; 
</code></pre>

<p>and it does indeed output into the string. I've just never seen this way of outputting a var before.</p>

<p>Couldn't find any documentation on it - can anyone enlighten me?</p>
