Skip to content

Commit 9a54cd7

Browse files
committed
Fix 32 bit test again
1 parent 99b3bcf commit 9a54cd7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

ext/date/tests/gmdate_variation12.phpt

+4-2
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,17 @@ var_dump( gmdate(DATE_ISO8601, $timestamp) );
3232
*** Testing gmdate() : usage variation ***
3333

3434
-- Testing gmdate() function with minimum range of timestamp --
35-
string(24) "1901-12-13T20:45:54+0000"
3635

3736
Warning: mktime(): Epoch doesn't fit in a PHP integer in %s on line %d
37+
string(24) "1901-12-13T20:45:54+0000"
38+
3839
-- Testing gmdate() function with less than the range of timestamp --
3940
string(24) "1970-01-01T00:00:00+0000"
4041

4142
-- Testing gmdate() function with maximum range of timestamp --
4243
string(24) "2038-01-19T03:14:07+0000"
4344

44-
Warning: mktime(): Epoch doesn't fit in a PHP integer in %s on line %d
4545
-- Testing gmdate() function with greater than the range of timestamp --
46+
47+
Warning: mktime(): Epoch doesn't fit in a PHP integer in %s on line %d
4648
string(24) "1970-01-01T00:00:00+0000"

ext/date/tests/gmdate_variation12_64bits.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
--TEST--
2-
Test gmdate() function : usage variation - Valid and invalid range of timestamp 32 bits.
2+
Test gmdate() function : usage variation - Valid and invalid range of timestamp 64 bits.
33
--SKIPIF--
44
<?php
55
if (PHP_INT_SIZE == 4) die('skip 64 bit only');

0 commit comments

Comments
 (0)