1--TEST--
2IntlTimeZone::createEnumeration(): basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8$tz = IntlTimeZone::createEnumeration();
9var_dump(get_class($tz));
10$count = count(iterator_to_array($tz));
11var_dump($count > 300);
12
13$tz = intltz_create_enumeration();
14var_dump(get_class($tz));
15$count2 = count(iterator_to_array($tz));
16var_dump($count == $count2);
17?>
18--EXPECT--
19string(12) "IntlIterator"
20bool(true)
21string(12) "IntlIterator"
22bool(true)
22