summaryrefslogtreecommitdiff
path: root/ext/intl/tests/bug77895.phpt
blob: 18b4f778e606dde36f8e62f9a695824003872844 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--TEST--
Bug #77895: IntlDateFormatter::create fails in strict mode if $locale = null 
--FILE--
<?php

declare(strict_types=1);

var_dump(IntlDateFormatter::create(null, IntlDateFormatter::NONE, IntlDateFormatter::NONE));

?>
--EXPECT--
object(IntlDateFormatter)#1 (0) {
}