1--TEST--
2IntlCalendar::getFirstDayOfWeek() 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($intlcal->getFirstDayOfWeek());
14var_dump(intlcal_get_first_day_of_week($intlcal));
15?>
16--EXPECT--
17int(2)
18int(2)
18