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