2014-01-09 14:23:49 +00:00
|
|
|
--TEST--
|
|
|
|
Testing bug #65371
|
|
|
|
--INI--
|
|
|
|
date.timezone=Europe/Berlin
|
|
|
|
--FILE--
|
|
|
|
<?php
|
|
|
|
|
|
|
|
function p($str)
|
|
|
|
{
|
2014-01-09 14:27:26 +00:00
|
|
|
echo $str, "\n";
|
|
|
|
echo strftime($str), "\n";
|
|
|
|
echo bin2hex($str), "\n";
|
2014-01-09 14:23:49 +00:00
|
|
|
echo bin2hex(strftime($str));
|
|
|
|
}
|
|
|
|
|
|
|
|
setlocale(LC_ALL, 'C');
|
|
|
|
p('あ');
|
2020-08-09 09:06:57 +00:00
|
|
|
?>
|
2021-07-09 10:53:29 +00:00
|
|
|
--EXPECTF--
|
2014-01-09 14:23:49 +00:00
|
|
|
あ
|
2021-07-09 10:53:29 +00:00
|
|
|
|
|
|
|
Deprecated: Function strftime() is deprecated in %s on line %d
|
2014-01-09 14:23:49 +00:00
|
|
|
あ
|
|
|
|
e38182
|
2021-07-09 10:53:29 +00:00
|
|
|
|
|
|
|
Deprecated: Function strftime() is deprecated in %s on line %d
|
2014-01-09 14:23:49 +00:00
|
|
|
e38182
|