bin2hex

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( ) .