hex2bin pre php 5.4

hex2bin pre php 5.4