mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
15 lines
No EOL
286 B
PHP
15 lines
No EOL
286 B
PHP
--TEST--
|
|
IntlTimeZone::getCanonicalID: basic test
|
|
--EXTENSIONS--
|
|
intl
|
|
--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
|