timezone_getCanonicalID_basic.phpt 286 B

123456789101112131415
  1. --TEST--
  2. IntlTimeZone::getCanonicalID: basic test
  3. --EXTENSIONS--
  4. intl
  5. --FILE--
  6. <?php
  7. ini_set("intl.error_level", E_WARNING);
  8. print_R(IntlTimeZone::getCanonicalID('Portugal'));
  9. echo "\n";
  10. print_R(intltz_get_canonical_id('Portugal'));
  11. echo "\n";
  12. ?>
  13. --EXPECT--
  14. Europe/Lisbon
  15. Europe/Lisbon