dechex() - math
Returns a string containing a hexadecimal representation of the given
unsigned number argument. number - The decimal value to convert.
As PHP's integer type is signed, but
dechex() deals with unsigned integers, negative
integers will be treated as though they were unsigned.
( int $number
Output / Return Value
Alternatives / See Also