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--EXPECT--
18string(13) "Europe/Lisbon"
19bool(true)
20string(0) ""
21bool(false)
22