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:
@@ -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'));
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user