PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<addslasheschop>
Last updated: Mon, 16 Jul 2012

bin2hex

(PHP 3 >= 3.0.9, PHP 4, PHP 5)

bin2hex --  将二进制数据转换成十六进制表示

描述

string bin2hex ( string str )

返回 ASCII 字符串,为参数 str 的十六进制表示。转换使用字节方式,高四位字节优先。

参见 pack()unpack()




<addslasheschop>
 Last updated: Mon, 16 Jul 2012
 
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://manual.phpv.net/
Last updated: Thu Jul 7 19:13:47 2005 CST