1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix test when default TZ is not UTC

This commit is contained in:
Matteo Beccati
2019-08-09 09:58:10 +02:00
parent d9dc942011
commit 00dd786ba4

View 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'));
?>