1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 00:18:23 +02:00
Files
archived-php-src/ext/intl/tests/timezone_getCanonicalID_basic.phpt
T
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

17 lines
355 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";
?>
--EXPECT--
Europe/Lisbon
Europe/Lisbon