1--TEST-- 2IntlCalendar::setFirstDayOfWeek() 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 IntlCalendar::DOW_TUESDAY, 15 $intlcal->setFirstDayOfWeek(IntlCalendar::DOW_TUESDAY), 16 $intlcal->getFirstDayOfWeek(), 17 intlcal_set_first_day_of_week($intlcal, IntlCalendar::DOW_WEDNESDAY), 18 $intlcal->getFirstDayOfWeek() 19); 20?> 21==DONE== 22--EXPECT-- 23int(3) 24bool(true) 25int(3) 26bool(true) 27int(4) 28==DONE== 28