1--TEST--
2IntlCalendar::get() basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8ini_set("intl.default_locale", "nl");
9
10$intlcal = IntlCalendar::createInstance('UTC');
11$intlcal->set(IntlCalendar::FIELD_DAY_OF_MONTH, 4);
12
13var_dump($intlcal->get(IntlCalendar::FIELD_DAY_OF_MONTH));
14var_dump(intlcal_get($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH));
15
16?>
17--EXPECT--
18int(4)
19int(4)
19