title: Unicode codepoint escape syntax
body: <p>I'm trying to use "Unicode codepoint escape syntax" to display emoji by its unicode. </p>
  
  <p>The basic syntax is:</p>
  
  <pre><code>echo "\u{1f606}"; - And it works fine
  </code></pre>
  
  <p>However when i insert the unicode from variable:</p>
  
  <pre><code>$unicode = "1f606";
  echo "\u{".$unicode."}";
  </code></pre>
  
  <p>I get «Invalid UTF-8 codepoint escape sequence» error.</p>