title: How to get real Hexadecimal number from Hex as String
body: <p>How do I get the proper Hexadecimal number from a Hexadecimal string?</p>
  
  <p>For example:</p>
  
  <pre><code>&lt;?php
  $a = 'C8';
  $b = 0xC8;
  $c = doWhatHere($a);
  $b === $c; // true
  </code></pre>