hexdec
hexdec
(PHP 4, PHP 5, PHP 7)
hexdec — Hexadecimal to decimal
Description
number hexdec ( string $hex_string )
Returns the decimal equivalent of the hexadecimal number represented by the hex_string
argument. hexdec() converts a hexadecimal string to a decimal number.
hexdec() will ignore any non-hexadecimal characters it encounters.