1--TEST-- 2IntlCalendar::getType() basic test 3--INI-- 4date.timezone=Atlantic/Azores 5--SKIPIF-- 6<?php 7if (!extension_loaded('intl')) 8 die('skip intl extension not enabled'); 9--FILE-- 10<?php 11ini_set("intl.error_level", E_WARNING); 12ini_set("intl.default_locale", "nl"); 13 14$intlcal = IntlCalendar::createInstance(); 15VAR_DUMP($intlcal->getType()); 16$intlcal = IntlCalendar::createInstance(null, "nl_NL@calendar=hebrew"); 17VAR_DUMP(intlcal_get_type($intlcal)); 18?> 19==DONE== 20--EXPECT-- 21string(9) "gregorian" 22string(6) "hebrew" 23==DONE== 23