PHP numbers manipulation
<p><code>$ch</code> is a character.</p>

<p>I need to convert it into 2 numbers like that (example):</p>

<pre><code>$ch = 'A'       =&gt;      ASCII code: 0x41
                =&gt;      Binary: 0100 0001
                =&gt;      {4, 1}
</code></pre>

<p>What is the easiest and fastest method to achieve this ?</p>
