String関数 2024年08月09日 01:27   編集
バイナリのデータを16進表現に変換する
$str = 'abあい';
print bin2hex($str);
実行結果は
6162e38182e38184
counter:269