PHP hex2bin() May 22, 2012 Pramod T P It decodes a hexadecimally encoded binary string Example <?php echo hex2bin(“d706c6520686578206461”); ?>