1--TEST-- 2IntlCalendar::getTimeZone() 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('GMT+00:01'); 11print_r($intlcal->getTimeZone()); 12print_r(intlcal_get_time_zone($intlcal)); 13?> 14--EXPECT-- 15IntlTimeZone Object 16( 17 [valid] => 1 18 [id] => GMT+00:01 19 [rawOffset] => 60000 20 [currentOffset] => 60000 21) 22IntlTimeZone Object 23( 24 [valid] => 1 25 [id] => GMT+00:01 26 [rawOffset] => 60000 27 [currentOffset] => 60000 28) 29