]> granicus.if.org Git - php/commitdiff
Fixed test cases due to changes in rules
authorDerick Rethans <github@derickrethans.nl>
Tue, 22 Sep 2015 07:42:12 +0000 (08:42 +0100)
committerDerick Rethans <github@derickrethans.nl>
Tue, 22 Sep 2015 07:42:12 +0000 (08:42 +0100)
ext/date/tests/010.phpt
ext/date/tests/bug17988.phpt

index 9f8c30a2e95540cd9ae478c84d49a87f82034c73..8b392297036a3dadc3c8e571081f6632a8013ffb 100644 (file)
@@ -8,7 +8,7 @@ date_default_timezone_set('UTC');
   echo "Done\n";
 ?>
 --EXPECTF--
-array(7) {
+array(6) {
   [0]=>
   array(3) {
     ["dst"]=>
@@ -46,15 +46,6 @@ array(7) {
     string(8) "Etc/Zulu"
   }
   [4]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(0)
-    ["timezone_id"]=>
-    string(3) "GMT"
-  }
-  [5]=>
   array(3) {
     ["dst"]=>
     bool(false)
@@ -63,7 +54,7 @@ array(7) {
     ["timezone_id"]=>
     string(3) "UTC"
   }
-  [6]=>
+  [5]=>
   array(3) {
     ["dst"]=>
     bool(false)
index e758b16aedf013870e030184c2ff0abb377dbfeb..01637d69c973fe6ce398d61c08498c3939f76207 100644 (file)
@@ -6,8 +6,6 @@ date.timezone=GMT
 <?php
 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n";
 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n";
-echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MET"))."\n";
-echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MEST"))."\n";
 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n";
 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n";
 echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+00"))."\n";
@@ -21,8 +19,6 @@ echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728+0330"))."\n";
 --EXPECT--
 2002-06-25 14:18:48
 2002-06-25 14:18:48
-2002-06-25 13:18:48
-2002-06-25 12:18:48
 2002-06-25 18:18:48
 2002-06-25 14:18:48
 2002-06-25 14:18:48