title: Using PHP to find unicode of a character
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/395832/how-to-get-code-point-number-for-a-given-character-in-a-utf-8-string">How to get code point number for a given character in a utf-8 string?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a sample code in javascript:</p>
  
  <pre><code>var str = "HELLO WORLD";
  var n = str.charCodeAt(0);
  </code></pre>
  
  <p>This returns 72</p>
  
  <p>How do I make this done in PHP?</p>