xref: /PHP-7.1/ext/date/tests/bug65502.phpt (revision 165f544a)
1--TEST--
2Test for bug #65502: DateTimeImmutable::createFromFormat returns DateTime
3--CREDITS--
4Boro Sitnikovski <buritomath@yahoo.com>
5--INI--
6date.timezone = UTC
7--FILE--
8<?php
9echo get_class(DateTimeImmutable::createFromFormat('j-M-Y', '12-Sep-2013'));
10?>
11--EXPECT--
12DateTimeImmutable
13