bin2hex()
bin2hex - Convert binary data into hexadecimal representation
Syntax
string bin2hex (
string $str)
Arguments
Description
Returns an ASCII string containing the hexadecimal representation of str. The conversion is done byte-wise with the high-nibble first.
Version
PHP 4, 5
Return value
Returns the hexadecimal representation of the given string.