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