in reply to How to convert hex string to real string ?

How about:

$text_b = pack('H*', "cac0bde7c3b3d2d7d7e9d6af0a");