/hphp/test/zend/bad/ext/intl/tests/timezone_createTimeZoneIDEnumeration_basic.php
PHP | 15 lines | 14 code | 1 blank | 0 comment | 0 complexity | a3993db523255b35e4124b41cc782d61 MD5 | raw file
Possible License(s): LGPL-2.1, BSD-2-Clause, BSD-3-Clause, MPL-2.0-no-copyleft-exception, MIT, LGPL-2.0, Apache-2.0
- <?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));
- ?>
- ==DONE==