downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

chop> <addslashes
[edit] Last updated: Fri, 30 Nov 2012

view this page in

bin2hex

(PHP 4, PHP 5)

bin2hexConvert binary data into hexadecimal representation

Opis

string bin2hex ( string $str )

Returns an ASCII string containing the hexadecimal representation of str. The conversion is done byte-wise with the high-nibble first.

Parametry

str

A string.

Zwracane wartości

Returns the hexadecimal representation of the given string.

Zobacz też:

  • hex2bin() - Decodes a hexadecimally encoded binary string
  • pack() - Pack data into binary string



chop> <addslashes
[edit] Last updated: Fri, 30 Nov 2012
 
add a note add a note User Contributed Notes bin2hex - [32 notes]