bug77895.phpt 293 B

123456789101112131415
  1. --TEST--
  2. Bug #77895: IntlDateFormatter::create fails in strict mode if $locale = null
  3. --EXTENSIONS--
  4. intl
  5. --FILE--
  6. <?php
  7. declare(strict_types=1);
  8. var_dump(IntlDateFormatter::create(null, IntlDateFormatter::NONE, IntlDateFormatter::NONE));
  9. ?>
  10. --EXPECT--
  11. object(IntlDateFormatter)#1 (0) {
  12. }