1--TEST-- 2IntlCalendar::getTimeZone() basic test 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) 6 die('skip intl extension not enabled'); 7--FILE-- 8<?php 9ini_set("intl.error_level", E_WARNING); 10ini_set("intl.default_locale", "nl"); 11 12$intlcal = IntlCalendar::createInstance('GMT+00:01'); 13print_r($intlcal->getTimeZone()); 14print_r(intlcal_get_time_zone($intlcal)); 15?> 16==DONE== 17--EXPECT-- 18IntlTimeZone Object 19( 20 [valid] => 1 21 [id] => GMT+00:01 22 [rawOffset] => 60000 23 [currentOffset] => 60000 24) 25IntlTimeZone Object 26( 27 [valid] => 1 28 [id] => GMT+00:01 29 [rawOffset] => 60000 30 [currentOffset] => 60000 31) 32==DONE== 33