1--TEST-- 2Testing bug #65371 3--INI-- 4date.timezone=Europe/Berlin 5--FILE-- 6<?php 7 8function p($str) 9{ 10 echo $str, "\n"; 11 echo strftime($str), "\n"; 12 echo bin2hex($str), "\n"; 13 echo bin2hex(strftime($str)); 14} 15 16setlocale(LC_ALL, 'C'); 17p('あ'); 18?> 19--EXPECTF-- 20あ 21 22Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in %s on line %d 23あ 24e38182 25 26Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in %s on line %d 27e38182 28