Commit:    332e46b3aa00c1d5a8cfb4e9a42f2d1dfbe3603d
Author:    Anatol Belski <a...@php.net>         Wed, 3 Jul 2013 22:52:51 +0200
Parents:   00293fec05fb5c7ab2591138e83d2aeb0cbeb3df
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=332e46b3aa00c1d5a8cfb4e9a42f2d1dfbe3603d

Log:
Extended the test for bug #65184

Bugs:
https://bugs.php.net/65184

Changed paths:
  M  ext/date/tests/bug65184.phpt


Diff:
diff --git a/ext/date/tests/bug65184.phpt b/ext/date/tests/bug65184.phpt
index ade020c..adfd8d8 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===


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to