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