public static function hexToBin($data)
    {
        if (self::ourStrlen($data) % 2 !== 0) {
            \trigger_error("hex2bin(): Hexadecimal input string must have an even length", E_USER_WARNING);
            return false;
        }
        return \pack('H*', $data);
    }
public static function hexToBin($data)
    {
        if (self::ourStrlen($data) % 2 !== 0) {
            \trigger_error("hex2bin(): Hexadecimal input string must have an even length", E_USER_WARNING);
            return false;
        }
        return \pack('H*', $data);
    }
public static function hexToBin ( $ data ) { if ( self :: ourStrlen ( $ data ) % 2 !== 0 ) { \ trigger_error ( "hex2bin(): Hexadecimal input string must have an even length" , E_USER_WARNING ) ; return false ; } return \ pack ( 'H*' , $ data ) ; }
Convert a hexadecimal string into raw binary

@param string $data Hexadecimal data

@return string
Convert a hexadecimal string into raw binary