Menu Riverview Church

BIN2HEX

Convert binary data into hexadecimal representation

SYNTAX

bin2hex ( string $str ) : string

PARAMETERS

str

A string.

RETURN

Returns the hexadecimal representation of the given string.

EXAMPLES

64617461

PHP