1--TEST--
2IntlCalendar::getLocale() basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8ini_set("intl.default_locale", "nl");
9
10$intlcal = IntlCalendar::createInstance('UTC');
11var_dump($intlcal->getLocale(Locale::ACTUAL_LOCALE));
12var_dump(intlcal_get_locale($intlcal, Locale::VALID_LOCALE));
13?>
14--EXPECT--
15string(2) "nl"
16string(5) "nl_NL"
17