title: Brackets in PHP double-quoted strings
body: <p>this is more of a better-practice type of question. </p>
  
  <p>I'd like to know if using brackets in double-quoted strings for variables is good practice.</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;?php
  $Variable = 'a variable';
  $SingleQuotedString = 'Single quoted string with ' . $Variable;
  // Single quoted string with a variable
  
  $DoubleQuotedString = "Double quoted string with $Variable";
  // Double quoted string with a variable
  
  $DoubleQuotedStringWithBrackets = "Double quoted string with {$Variable} in brackets.";
  // Double quoted string with a variable in brackets.
  ?&gt;
  </code></pre>
  
  <p>It doesn't change the output or the code from simple tests, and obviously works. I'm just confused because not many people do this, and I don't see recommendations or people disagreeing with it, and I've been using them just fine.</p>
  
  <p>Thanks for any feedback!</p>