The hex2bin() function converts a string of hexadecimal values to ASCII characters.
string hex2bin ( string $data )
Decodes a hexadecimally encoded binary string.
Parameter | Description |
---|---|
data | Hexadecimal representation of data. |
Returns the binary representation of the given data or FALSE on failure.