| 
 | hex2binDecodes a hexadecimally encoded binary string Description
   string hex2bin
    ( string  $data)Decodes a hexadecimally encoded binary string. Caution
    This function does NOT convert a hexadecimal number to a binary number. This can be done using the base_convert function. Parameters
 Return Values
   Returns the binary representation of the given data  or  Errors/Exceptions
   If the hexadecimal input string is of odd length or invalid hexadecimal string
   an  Changelog
 
 ExamplesExample #1 hex2bin example 
<?phpThe above example will output something similar to: string(16) "example hex data" See Also
 
 |