• Teach Your Self With
             w3htmlschool.com

PHP bin2hex Function

The bin2hex() function converts a binary data into hexadecimal values.
Example
Example Output