php-src/ext/intl/tests/timezone_getCanonicalID_basic.phpt
2012-04-01 23:28:00 +01:00

19 lines
373 B
PHP

--TEST--
IntlTimeZone::getCanonicalID: basic test
--SKIPIF--
<?php
if (!extension_loaded('intl'))
die('skip intl extension not enabled');
--FILE--
<?php
ini_set("intl.error_level", E_WARNING);
print_R(IntlTimeZone::getCanonicalID('Portugal'));
echo "\n";
print_R(intltz_get_canonical_id('Portugal'));
echo "\n";
?>
==DONE==
--EXPECT--
Europe/Lisbon
Europe/Lisbon
==DONE==