1--TEST--
2IntlCalendar::getType() basic test
3--INI--
4date.timezone=Atlantic/Azores
5--EXTENSIONS--
6intl
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10ini_set("intl.default_locale", "nl");
11
12$intlcal = IntlCalendar::createInstance();
13VAR_DUMP($intlcal->getType());
14$intlcal = IntlCalendar::createInstance(null, "nl_NL@calendar=hebrew");
15VAR_DUMP(intlcal_get_type($intlcal));
16?>
17--EXPECT--
18string(9) "gregorian"
19string(6) "hebrew"
19