bug65502.phpt 287 B

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