php-src/ext/intl/tests/timezone_createTimeZoneIDEnumeration_basic.phpt
Nikita Popov 7485978339
Migrate SKIPIF -> EXTENSIONS (#7138)
This is an automated migration of most SKIPIF extension_loaded checks.
2021-06-11 11:57:42 +02:00

28 lines
504 B
PHP

--TEST--
IntlTimeZone::createTimeZoneIDEnumeration(): basic test
--EXTENSIONS--
intl
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
$enum = IntlTimeZone::createTimeZoneIDEnumeration(
IntlTimeZone::TYPE_ANY,
'PT',
-3600000);
print_r(iterator_to_array($enum));
$enum = intltz_create_time_zone_id_enumeration(
IntlTimeZone::TYPE_ANY,
'PT',
-3600000);
print_r(iterator_to_array($enum));
?>
--EXPECT--
Array
(
[0] => Atlantic/Azores
)
Array
(
[0] => Atlantic/Azores
)