1--TEST--
2IntlCalendar::getUnknown(): 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$tz = IntlTimeZone::getUnknown();
13print_r($tz);
14$tz = intltz_get_unknown();
15print_r($tz);
16?>
17--EXPECT--
18IntlTimeZone Object
19(
20    [valid] => 1
21    [id] => Etc/Unknown
22    [rawOffset] => 0
23    [currentOffset] => 0
24)
25IntlTimeZone Object
26(
27    [valid] => 1
28    [id] => Etc/Unknown
29    [rawOffset] => 0
30    [currentOffset] => 0
31)
32