Name

hexdec()

Synopsis

    number hexdec ( string hex_string )

The hexdec() function converts a hexadecimal number into a decimal number. It takes just one parameter, which is the number to convert. For example:

    print hexdec(e8); // 232

Get PHP in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.