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