com php-src: Fixed 32-bit tests as well.: ext/date/tests/date _sunrise_variation2.phpt ext/date/tests/date_sunset _variation2.phpt
| From: | Derick Rethans | Date: | Wed, 16 Aug 2017 14:28:50 +0000 |
| Subject: | com php-src: Fixed 32-bit tests as well.: ext/date/tests/date _sunrise_variation2.phpt ext/date/tests/date_sunset _variation2.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99057@lists.php.net to get a copy of this message | ||
Commit: 43c78b24222e7a0c625f10cb5dd2e29aa60eca69
Author: Derick Rethans <github@derickrethans.nl> Wed, 16 Aug 2017 15:28:50 +0100
Parents: 6f2bc0718249e44be98c1271f4d6ad82aca3a1c1
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=43c78b24222e7a0c625f10cb5dd2e29aa60eca69
Log:
Fixed 32-bit tests as well.
Changed paths:
M ext/date/tests/date_sunrise_variation2.phpt
M ext/date/tests/date_sunset_variation2.phpt
Diff:
diff --git a/ext/date/tests/date_sunrise_variation2.phpt
b/ext/date/tests/date_sunrise_variation2.phpt
index 6212f0e..4551979 100644
--- a/ext/date/tests/date_sunrise_variation2.phpt
+++ b/ext/date/tests/date_sunrise_variation2.phpt
@@ -125,7 +125,7 @@ Warning: date_sunrise() expects parameter 2 to be integer, float given in %s on
bool(false)
--float .5--
-int(1218174483)
+int(1218174468)
--empty array--
@@ -148,22 +148,22 @@ Warning: date_sunrise() expects parameter 2 to be integer, array given in %s
on
bool(false)
--uppercase NULL--
-int(1218174483)
+int(1218174468)
--lowercase null--
-int(1218174483)
+int(1218174468)
--lowercase true--
-string(5) "06:48"
+string(5) "06:47"
--lowercase false--
-int(1218174483)
+int(1218174468)
--uppercase TRUE--
-string(5) "06:48"
+string(5) "06:47"
--uppercase FALSE--
-int(1218174483)
+int(1218174468)
--empty string DQ--
@@ -206,8 +206,8 @@ Warning: date_sunrise() expects parameter 2 to be integer, object given in %s on
bool(false)
--undefined var--
-int(1218174483)
+int(1218174468)
--unset var--
-int(1218174483)
+int(1218174468)
===DONE===
diff --git a/ext/date/tests/date_sunset_variation2.phpt b/ext/date/tests/date_sunset_variation2.phpt
index 952b821..8015995 100644
--- a/ext/date/tests/date_sunset_variation2.phpt
+++ b/ext/date/tests/date_sunset_variation2.phpt
@@ -125,7 +125,7 @@ Warning: date_sunset() expects parameter 2 to be integer, float given in %s on l
bool(false)
--float .5--
-int(1218199253)
+int(1218199264)
--empty array--
@@ -148,22 +148,22 @@ Warning: date_sunset() expects parameter 2 to be integer, array given in %s on
l
bool(false)
--uppercase NULL--
-int(1218199253)
+int(1218199264)
--lowercase null--
-int(1218199253)
+int(1218199264)
--lowercase true--
-string(5) "18:10"
+string(5) "18:11"
--lowercase false--
-int(1218199253)
+int(1218199264)
--uppercase TRUE--
-string(5) "18:10"
+string(5) "18:11"
--uppercase FALSE--
-int(1218199253)
+int(1218199264)
--empty string DQ--
@@ -206,8 +206,8 @@ Warning: date_sunset() expects parameter 2 to be integer, object given in %s on
bool(false)
--undefined var--
-int(1218199253)
+int(1218199264)
--unset var--
-int(1218199253)
-===DONE===
\ No newline at end of file
+int(1218199264)
+===DONE===