1--TEST--
2IntlTimeZone::createTimeZoneIDEnumeration(): basic test
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7if (version_compare(INTL_ICU_VERSION, '4.8') < 0)
8	die('skip for ICU 4.8+');
9--FILE--
10<?php
11ini_set("intl.error_level", E_WARNING);
12$enum = IntlTimeZone::createTimeZoneIDEnumeration(
13	IntlTimeZone::TYPE_ANY,
14	'PT',
15	-3600000);
16print_r(iterator_to_array($enum));
17
18$enum = intltz_create_time_zone_id_enumeration(
19	IntlTimeZone::TYPE_ANY,
20	'PT',
21	-3600000);
22print_r(iterator_to_array($enum));
23?>
24==DONE==
25--EXPECT--
26Array
27(
28    [0] => Atlantic/Azores
29)
30Array
31(
32    [0] => Atlantic/Azores
33)
34==DONE==
34