php-8.0.30-src/ext/date/tests/bug75928.phpt

10 lines
233 B
PHP

--TEST--
Bug #75928: Argument 2 for `DateTimeZone::listIdentifiers()` should accept `null`
--FILE--
<?php
declare(strict_types=1);
var_dump(is_array(DateTimeZone::listIdentifiers(\DateTimeZone::ALL, null)));
?>
--EXPECT--
bool(true)