mirror of
https://github.com/php/php-src.git
synced 2026-03-27 17:52:16 +01:00
Merge branch 'PHP-5.4' into PHP-5.5
* PHP-5.4: added testcase from bug #65371
This commit is contained in:
22
ext/date/tests/bug65371.phpt
Normal file
22
ext/date/tests/bug65371.phpt
Normal file
@@ -0,0 +1,22 @@
|
||||
--TEST--
|
||||
Testing bug #65371
|
||||
--INI--
|
||||
date.timezone=Europe/Berlin
|
||||
--FILE--
|
||||
<?php
|
||||
|
||||
function p($str)
|
||||
{
|
||||
echo $str, PHP_EOL;
|
||||
echo strftime($str), PHP_EOL;
|
||||
echo bin2hex($str), PHP_EOL;
|
||||
echo bin2hex(strftime($str));
|
||||
}
|
||||
|
||||
setlocale(LC_ALL, 'C');
|
||||
p('あ');
|
||||
--EXPECT--
|
||||
あ
|
||||
あ
|
||||
e38182
|
||||
e38182
|
||||
Reference in New Issue
Block a user