1--TEST--
2IntlCalendar::getMinimum(), ::getActualMinimum(), ::getGreatestMinimum() 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('UTC');
15$intlcal->setTime(strtotime('2012-02-29 05:06:07 +0000') * 1000);
16var_dump(
17        $intlcal->getGreatestMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
18        intlcal_get_greatest_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
19        $intlcal->getActualMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
20        intlcal_get_actual_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH),
21        $intlcal->getMinimum(IntlCalendar::FIELD_DAY_OF_MONTH),
22        intlcal_get_minimum($intlcal, IntlCalendar::FIELD_DAY_OF_MONTH)
23);
24
25?>
26--EXPECT--
27int(1)
28int(1)
29int(1)
30int(1)
31int(1)
32int(1)
32