mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: added testcase from bug #65371
This commit is contained in:
@@ -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