summaryrefslogtreecommitdiff
path: root/ext/date/tests/bug65371.phpt
blob: a6e312651464b31aa13c4e63966cdd4bbd0b8e8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
Testing bug #65371
--INI--
date.timezone=Europe/Berlin
--FILE--
<?php

function p($str)
{
  echo $str, "\n";
  echo strftime($str), "\n";
  echo bin2hex($str), "\n";
  echo bin2hex(strftime($str));
}

setlocale(LC_ALL, 'C');
p('あ');
--EXPECT--
あ
あ
e38182
e38182