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--EXPECT--
21bool(true)
22int(6)
23bool(true)
24int(5)
25