diff options
-rw-r--r-- | ext/date/tests/bug65184.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ext/date/tests/bug65184.phpt b/ext/date/tests/bug65184.phpt index ade020ca36..adfd8d8124 100644 --- a/ext/date/tests/bug65184.phpt +++ b/ext/date/tests/bug65184.phpt @@ -9,14 +9,18 @@ if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') { --FILE-- <?php setlocale(LC_ALL, 'Japanese_Japan.932'); - $s = strftime('%A'); + /* timestamp has to be some wednesday */ + $s = strftime('%A', 1372884126); for ($i = 0; $i < strlen($s); $i++) { printf("%x ", ord($s[$i])); } echo "\n"; + + echo strlen(strftime('%A')), "\n"; ?> ===DONE=== --EXPECT-- 90 85 97 6a 93 fa +6 ===DONE=== |