1--TEST-- 2IntlTimeZone::getCanonicalID: basic test 3--SKIPIF-- 4<?php 5if (!extension_loaded('intl')) 6 die('skip intl extension not enabled'); 7--FILE-- 8<?php 9ini_set("intl.error_level", E_WARNING); 10print_R(IntlTimeZone::getCanonicalID('Portugal')); 11echo "\n"; 12print_R(intltz_get_canonical_id('Portugal')); 13echo "\n"; 14?> 15--EXPECT-- 16Europe/Lisbon 17Europe/Lisbon 17