3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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('あ');
Output for 4.3.0 - 7.1.0
あ あ e38182 e38182