1--TEST--
2IntlCalendar::set() basic test
3--INI--
4date.timezone=Atlantic/Azores
5--EXTENSIONS--
6intl
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10ini_set("intl.default_locale", "nl");
11
12$intlcal = IntlCalendar::createInstance();
13var_dump($intlcal->set(IntlCalendar::FIELD_DAY_OF_MONTH, 2));
14var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH));
15var_dump(intlcal_set($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH, 3));
16var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH));
17
18?>
19--EXPECT--
20bool(true)
21int(2)
22bool(true)
23int(3)
23