The PHP hexdec() function converts a hexadecimal number to a decimal number.
Syntax
hexdec(hex_string)
Parameter
Parameter | Description |
---|---|
hex_string | Specifies the hexadecimal string to convert (required) |