- bin2hex: documentation ( source)
- strftime: documentation ( source)
- setlocale: documentation ( source)
<?php
function p($str)
{
echo $str, "\n";
echo strftime($str), "\n";
echo bin2hex($str), "\n";
echo bin2hex(strftime($str)), "\n";
}
setlocale(LC_ALL, 'C');
p('あ');