dechex

PHP 4, PHP 5, PHP 7, PHP 8
dechex - Decimal to hexadecimal
Dechex Online Tool
Manual
Code Examples

Example #1 dechex example with large integers

Result: ffffffff ffffffff ffffffff
PHP Version:

Example #2 dechex example

Result: a 2f
PHP Version:


Example #3 of dechex

PHP Version:


Function dechex:

Mathematical Functions Functions

Most used PHP functions