1--TEST-- 2IntlTimeZone::createTimeZoneIDEnumeration(): 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$enum = IntlTimeZone::createTimeZoneIDEnumeration( 11 IntlTimeZone::TYPE_ANY, 12 'PT', 13 -3600000); 14print_r(iterator_to_array($enum)); 15 16$enum = intltz_create_time_zone_id_enumeration( 17 IntlTimeZone::TYPE_ANY, 18 'PT', 19 -3600000); 20print_r(iterator_to_array($enum)); 21?> 22==DONE== 23--EXPECT-- 24Array 25( 26 [0] => Atlantic/Azores 27) 28Array 29( 30 [0] => Atlantic/Azores 31) 32==DONE== 33