Skip to content

Commit

Permalink
added testcase from bug #65371
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Jan 9, 2014
1 parent 1c586d4 commit e927dbd
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions ext/date/tests/bug65371.phpt
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit e927dbd

Please sign in to comment.