mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
Merge branch 'PHP-7.1'
* PHP-7.1: Avoid exact floating point comparison
This commit is contained in:
commit
06eb61591a
1 changed files with 2 additions and 2 deletions
|
@ -10,12 +10,12 @@ date.timezone=UTC
|
|||
$location = timezone_location_get(new DateTimeZone("Europe/Oslo"));
|
||||
var_dump($location);
|
||||
?>
|
||||
--EXPECT--
|
||||
--EXPECTF--
|
||||
array(4) {
|
||||
["country_code"]=>
|
||||
string(2) "NO"
|
||||
["latitude"]=>
|
||||
float(59.91666)
|
||||
float(59.9166%d)
|
||||
["longitude"]=>
|
||||
float(10.75)
|
||||
["comments"]=>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue