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--EXPECT-- 23Array 24( 25 [0] => Atlantic/Azores 26) 27Array 28( 29 [0] => Atlantic/Azores 30) 31