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--EXPECT--
22int(3)
23bool(true)
24int(3)
25bool(true)
26int(4)
26