Skip to content

Commit 1fe63bf

Browse files
committed
Try to fix tests on windows
1 parent 5d94f99 commit 1fe63bf

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

ext/date/tests/009_win32.phpt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,27 @@ echo "Done\n";
3535
setlocale(LC_TIME, $loc);
3636
?>
3737
--EXPECTF--
38+
Deprecated: Function gmstrftime() is deprecated in %s on line %d
3839
bool(false)
40+
41+
Deprecated: Function gmstrftime() is deprecated in %s on line %d
3942
string(%d) "Tue Tuesday Jun June 6/27/2006 12:00:00 AM 27 00 12 178 06 00 AM 00 26 26 2 6/27/2006 12:00:00 AM 06 2006 %s"
43+
44+
Deprecated: Function gmstrftime() is deprecated in %s on line %d
4045
string(5) "%q %a"
46+
47+
Deprecated: Function gmstrftime() is deprecated in %s on line %d
4148
string(4) "blah"
49+
50+
Deprecated: Function gmstrftime() is deprecated in %s on line %d
4251
bool(false)
52+
53+
Deprecated: Function gmstrftime() is deprecated in %s on line %d
4354
string(%d) "Mon Monday Jun June 6/26/2006 9:00:00 PM 26 21 09 177 06 00 PM 00 26 26 1 6/26/2006 9:00:00 PM 06 2006 %s"
55+
56+
Deprecated: Function gmstrftime() is deprecated in %s on line %d
4457
string(5) "%q %a"
58+
59+
Deprecated: Function gmstrftime() is deprecated in %s on line %d
4560
string(4) "blah"
4661
Done

ext/date/tests/bug65184.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (strtoupper(substr(PHP_OS, 0, 3)) != 'WIN') {
88
?>
99
--INI--
1010
date.timezone = UTC
11+
error_reporting=E_ALL&~E_DEPRECATED
1112
--FILE--
1213
<?php
1314
setlocale(LC_ALL, 'Japanese_Japan.932');

ext/standard/tests/strings/bug65230.phpt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ if (substr(PHP_OS, 0, 3) != 'WIN') {
88
?>
99
--INI--
1010
date.timezone=Europe/Berlin
11+
error_reporting=E_ALL&~E_DEPRECATED
1112
--FILE--
1213
<?php
1314

0 commit comments

Comments
 (0)