1--TEST--
2IntlTimeZone::createEnumeration(): 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);
10$tz = IntlTimeZone::createEnumeration();
11var_dump(get_class($tz));
12$count = count(iterator_to_array($tz));
13var_dump($count > 300);
14
15$tz = intltz_create_enumeration();
16var_dump(get_class($tz));
17$count2 = count(iterator_to_array($tz));
18var_dump($count == $count2);
19?>
20--EXPECT--
21string(12) "IntlIterator"
22bool(true)
23string(12) "IntlIterator"
24bool(true)
24