1--TEST-- 2IntlCalendar::setMinimalDaysInFirstWeek() basic test 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) 6 die('skip intl extension not enabled'); 7--FILE-- 8<?php 9ini_set("intl.error_level", E_WARNING); 10ini_set("intl.default_locale", "nl"); 11 12$intlcal = IntlCalendar::createInstance('UTC'); 13var_dump( 14 $intlcal->setMinimalDaysInFirstWeek(6), 15 $intlcal->getMinimalDaysInFirstWeek(), 16 intlcal_set_minimal_days_in_first_week($intlcal, 5), 17 $intlcal->getMinimalDaysInFirstWeek() 18); 19?> 20==DONE== 21--EXPECT-- 22bool(true) 23int(6) 24bool(true) 25int(5) 26==DONE== 27