1--TEST-- 2IntlCalendar::getMinimalDaysInFirstWeek() basic test 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) 6 die('skip intl extension not enabled'); 7if (version_compare(INTL_ICU_VERSION, '4.8') < 0) 8 die('skip for ICU 4.8+'); 9--FILE-- 10<?php 11ini_set("intl.error_level", E_WARNING); 12ini_set("intl.default_locale", "nl"); 13 14$intlcal = IntlCalendar::createInstance('UTC'); 15var_dump($intlcal->getMinimalDaysInFirstWeek()); 16var_dump(intlcal_get_minimal_days_in_first_week($intlcal)); 17?> 18==DONE== 19--EXPECT-- 20int(4) 21int(4) 22==DONE== 22