How to do hex2bin in php5.3
<p><code>hex2bin()</code> function is supported after php5.4. It is not available in php5.3.  How can I do hex2bin in php3 ? </p>

<pre><code> echo hex2bin("48656c6c6f20576f726c6421");
</code></pre>