]> granicus.if.org Git - php/commitdiff
Fix test when default TZ is not UTC
authorMatteo Beccati <mbeccati@php.net>
Fri, 9 Aug 2019 07:58:10 +0000 (09:58 +0200)
committerMatteo Beccati <mbeccati@php.net>
Fri, 9 Aug 2019 07:58:10 +0000 (09:58 +0200)
ext/date/tests/bug78383.phpt

index 78d4617fb04b8a9683fe078401ac677f51663ea0..dc1b702fa7787e8c738b16f6bb45670b0203e173 100644 (file)
@@ -3,7 +3,7 @@ Bug #78383: Casting a DateTime to array no longer returns its properties
 --FILE--
 <?php
 
-var_dump((array) new DateTime('2000-01-01'));
+var_dump((array) new DateTime('2000-01-01 UTC'));
 var_dump((array) new DateTimeZone('Europe/Berlin'));
 
 ?>