Skip to content

Commit e4f3fb9

Browse files
committed
Fixed test cases due to changes in rules
1 parent fab5cba commit e4f3fb9

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

ext/date/tests/010.phpt

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ date_default_timezone_set('UTC');
88
echo "Done\n";
99
?>
1010
--EXPECTF--
11-
array(7) {
11+
array(6) {
1212
[0]=>
1313
array(3) {
1414
["dst"]=>
@@ -46,15 +46,6 @@ array(7) {
4646
string(8) "Etc/Zulu"
4747
}
4848
[4]=>
49-
array(3) {
50-
["dst"]=>
51-
bool(false)
52-
["offset"]=>
53-
int(0)
54-
["timezone_id"]=>
55-
string(3) "GMT"
56-
}
57-
[5]=>
5849
array(3) {
5950
["dst"]=>
6051
bool(false)
@@ -63,7 +54,7 @@ array(7) {
6354
["timezone_id"]=>
6455
string(3) "UTC"
6556
}
66-
[6]=>
57+
[5]=>
6758
array(3) {
6859
["dst"]=>
6960
bool(false)

ext/date/tests/bug17988.phpt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ date.timezone=GMT
66
<?php
77
echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728"))."\n";
88
echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 GMT"))."\n";
9-
echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MET"))."\n";
10-
echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 MEST"))."\n";
119
echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728 EDT"))."\n";
1210
echo gmdate('Y-m-d H:i:s', strtotime("2002-06-25 14:18:48.543728-00"))."\n";
1311
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";
2119
--EXPECT--
2220
2002-06-25 14:18:48
2321
2002-06-25 14:18:48
24-
2002-06-25 13:18:48
25-
2002-06-25 12:18:48
2622
2002-06-25 18:18:48
2723
2002-06-25 14:18:48
2824
2002-06-25 14:18:48

0 commit comments

Comments
 (0)