hex2bin
Decodes a hexadecimally encoded binary string
Syntax
hex2bin ( string $data ) : string
Parameters
data
Hexadecimal representation of data.
Return
Returns the binary representation of the given data or FALSE on failure.
Examples
<? $data = '64617461'; $return = hex2bin($data); echo $return; ?>
data