PHP hex2bin() FunctionPHP hex2bin() function is used to convert a string hexadecimal value to ASCII ccharacters. Note: This function does not convert a hexadecimal number to a binary number.Syntax:
Example 1Output: Hello World! Example 2Output: string(16) "example hex data"
Next TopicPHP String
|