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--EXPECT--
17IntlTimeZone Object
18(
19    [valid] => 1
20    [id] => GMT+00:01
21    [rawOffset] => 60000
22    [currentOffset] => 60000
23)
24IntlTimeZone Object
25(
26    [valid] => 1
27    [id] => GMT+00:01
28    [rawOffset] => 60000
29    [currentOffset] => 60000
30)
31