PHP function bin2hex()
Availability in PHP 4.0
Convert binary data into hexadecimal representation
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$str |
string |
not | A character. |
Return values
string
the hexadecimal representation of the given string.