1--TEST-- 2IntlCalendar::getWeekendTransition() basic test 3--INI-- 4date.timezone=Atlantic/Azores 5--SKIPIF-- 6<?php 7if (!extension_loaded('intl')) 8 die('skip intl extension not enabled'); 9if (version_compare(INTL_ICU_VERSION, '4.4') < 0) 10 die('skip for ICU 4.4+'); 11--FILE-- 12<?php 13ini_set("intl.error_level", E_WARNING); 14ini_set("intl.default_locale", "nl"); 15 16$intlcal = IntlCalendar::createInstance(); 17var_dump($intlcal->getWeekendTransition(IntlCalendar::DOW_SUNDAY)); 18var_dump(intlcal_get_weekend_transition($intlcal, IntlCalendar::DOW_SUNDAY)); 19?> 20==DONE== 21--EXPECT-- 22int(86400000) 23int(86400000) 24==DONE== 24