1--TEST--
2IntlTimeZone::createEnumeration(): variant with country
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);
10$tz = IntlTimeZone::createEnumeration('NL');
11var_dump(get_class($tz));
12$count = count(iterator_to_array($tz));
13var_dump($count >= 1);
14
15$tz->rewind();
16var_dump(in_array('Europe/Amsterdam', iterator_to_array($tz)));
17
18?>
19--EXPECT--
20string(12) "IntlIterator"
21bool(true)
22bool(true)
22