Skip to content

Commit aa0a2e8

Browse files
committed
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Avoid exact floating point comparison
2 parents 242bdf7 + 9b7f13c commit aa0a2e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/date/tests/timezone_location_get.phpt

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ date.timezone=UTC
1010
$location = timezone_location_get(new DateTimeZone("Europe/Oslo"));
1111
var_dump($location);
1212
?>
13-
--EXPECT--
13+
--EXPECTF--
1414
array(4) {
1515
["country_code"]=>
1616
string(2) "NO"
1717
["latitude"]=>
18-
float(59.91666)
18+
float(59.9166%d)
1919
["longitude"]=>
2020
float(10.75)
2121
["comments"]=>

0 commit comments

Comments
 (0)