xref: /PHP-8.1/ext/date/tests/bug65371.phpt (revision 4b3615a3)
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--
2021
22Deprecated: Function strftime() is deprecated in %s on line %d
2324e38182
25
26Deprecated: Function strftime() is deprecated in %s on line %d
27e38182
28