Forum und email

bin2hex

(PHP 4, PHP 5)

bin2hex — Converte um dado binário em hexadecimal

Descrição

string bin2hex ( string $str )

Retorna uma string ASCII uma representação hexadecimal de str . A conversão é feita byte-wise com o high-nibble primeiro.

Veja também pack() e unpack().