1--TEST-- 2IntlTimeZone::getCanonicalID(): second argument 3--SKIPIF-- 4<?php if (!extension_loaded('intl')) die('skip intl extension not enabled'); ?> 5<?php if (version_compare(INTL_ICU_VERSION, '53.1') >= 0) die('skip for ICU < 53.1'); ?> 6--FILE-- 7<?php 8ini_set("intl.error_level", E_WARNING); 9 10var_dump(IntlTimeZone::getCanonicalID('Portugal', $isSystemId)); 11var_dump($isSystemId); 12 13var_dump(IntlTimeZone::getCanonicalID('GMT +01:25', $isSystemId)); 14var_dump($isSystemId); 15 16?> 17==DONE== 18--EXPECT-- 19string(13) "Europe/Lisbon" 20bool(true) 21string(0) "" 22bool(false) 23==DONE== 24