PageRenderTime 42ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/hphp/test/zend/bad/ext/intl/tests/timezone_createTimeZoneIDEnumeration_basic.php

http://github.com/facebook/hiphop-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
  1. <?php
  2. ini_set("intl.error_level", E_WARNING);
  3. $enum = IntlTimeZone::createTimeZoneIDEnumeration(
  4. IntlTimeZone::TYPE_ANY,
  5. 'PT',
  6. -3600000);
  7. print_r(iterator_to_array($enum));
  8. $enum = intltz_create_time_zone_id_enumeration(
  9. IntlTimeZone::TYPE_ANY,
  10. 'PT',
  11. -3600000);
  12. print_r(iterator_to_array($enum));
  13. ?>
  14. ==DONE==