bug75928.phpt 233 B

123456789
  1. --TEST--
  2. Bug #75928: Argument 2 for `DateTimeZone::listIdentifiers()` should accept `null`
  3. --FILE--
  4. <?php
  5. declare(strict_types=1);
  6. var_dump(is_array(DateTimeZone::listIdentifiers(\DateTimeZone::ALL, null)));
  7. ?>
  8. --EXPECT--
  9. bool(true)