diff options
Diffstat (limited to 'ext/date/tests/012.phpt')
-rw-r--r-- | ext/date/tests/012.phpt | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/ext/date/tests/012.phpt b/ext/date/tests/012.phpt index 1eaeca0996..d16983bc06 100644 --- a/ext/date/tests/012.phpt +++ b/ext/date/tests/012.phpt @@ -20,15 +20,36 @@ var_dump($dto->format("Y/m/d H:i:s")); echo "Done\n"; ?> --EXPECTF-- -NULL +object(DateTime)#1 (3) { + ["date"]=> + string(19) "2006-01-23 00:00:00" + ["timezone_type"]=> + int(3) + ["timezone"]=> + string(3) "UTC" +} string(19) "2006/01/23 00:00:00" Warning: date_isodate_set() expects at least 3 parameters, 2 given in %s on line %d bool(false) string(19) "2006/01/23 00:00:00" -NULL +object(DateTime)#1 (3) { + ["date"]=> + string(19) "2006-01-30 00:00:00" + ["timezone_type"]=> + int(3) + ["timezone"]=> + string(3) "UTC" +} string(19) "2006/01/30 00:00:00" -NULL +object(DateTime)#1 (3) { + ["date"]=> + string(19) "2007-12-10 00:00:00" + ["timezone_type"]=> + int(3) + ["timezone"]=> + string(3) "UTC" +} string(19) "2007/12/10 00:00:00" Warning: date_isodate_set() expects at most 4 parameters, 5 given in %s on line %d |