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