1--TEST--
2IntlCalendar::setFirstDayOfWeek() basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8ini_set("intl.default_locale", "nl");
9
10$intlcal = IntlCalendar::createInstance('UTC');
11var_dump(
12        IntlCalendar::DOW_TUESDAY,
13        $intlcal->setFirstDayOfWeek(IntlCalendar::DOW_TUESDAY),
14        $intlcal->getFirstDayOfWeek(),
15        intlcal_set_first_day_of_week($intlcal, IntlCalendar::DOW_WEDNESDAY),
16        $intlcal->getFirstDayOfWeek()
17);
18?>
19--EXPECT--
20int(3)
21bool(true)
22int(3)
23bool(true)
24int(4)
24