Php Programming Code Examples Php > Code Snippets Code Examples Decimal to hexadecimal conversion Decimal to hexadecimal conversion <?php print(dechex(255) . "<br>"); ?>