title: Convert ASCII to UTF-8 along with hexadecimal `/x` notation - PHP
body: <p><strong>What I want</strong></p>
  
  <pre><code>\ud83d\ude1c //Emoji Unicode
  </code></pre>
  
  <p>To covert in</p>
  
  <pre><code>\xF0\x9F\x98\x83 //Hexadecimal string with /x notation
  </code></pre>
  
  <p><strong>What I know so far</strong></p>
  
  <p><code>ASCII</code> is a subset of <code>UTF-8</code> == <code>true</code></p>
  
  <p>I've tried many listed solutions but nothing worked for me. Actually I'm having an complete array of <code>hex</code> EMOJI elements and once I'll have <code>hex</code> value, I can pick correspondence <code>png</code> of that emoji.  Any single help can lead me in a way.</p>
  
  <p>Thanks!!!!!</p>