简单教程
提交运行
代码编辑器:
<?php $str = bin2hex("Hello World!"); echo($str);
x
1
<?php
2
3
$str
=
bin2hex
(
"Hello World!"
);
4
echo
(
$str
);
5
运行结果: