xref: /PHP-7.1/ext/date/tests/bug65371.phpt (revision b8774519)
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--EXPECT--
192021e38182
22e38182
23