xref: /PHP-7.3/ext/intl/tests/bug77895.phpt (revision 619c4e9f)
1--TEST--
2Bug #77895: IntlDateFormatter::create fails in strict mode if $locale = null
3--FILE--
4<?php
5
6declare(strict_types=1);
7
8var_dump(IntlDateFormatter::create(null, IntlDateFormatter::NONE, IntlDateFormatter::NONE));
9
10?>
11--EXPECT--
12object(IntlDateFormatter)#1 (0) {
13}
14