1--TEST--
2IntlCalendar::getUnknown(): bad arguments
3--INI--
4date.timezone=Atlantic/Azores
5--SKIPIF--
6<?php
7if (!extension_loaded('intl'))
8	die('skip intl extension not enabled');
9if (version_compare(INTL_ICU_VERSION, '49') < 0)
10	die('skip for ICU 49+');
11--FILE--
12<?php
13ini_set("intl.error_level", E_WARNING);
14
15$c = new IntlGregorianCalendar(NULL, 'pt_PT');
16
17IntlTimeZone::getUnknown(1);
18
19intltz_get_unknown(1);
20--EXPECTF--
21Warning: IntlTimeZone::getUnknown() expects exactly 0 parameters, 1 given in %s on line %d
22
23Warning: IntlTimeZone::getUnknown(): intltz_get_unknown: bad arguments in %s on line %d
24
25Warning: intltz_get_unknown() expects exactly 0 parameters, 1 given in %s on line %d
26
27Warning: intltz_get_unknown(): intltz_get_unknown: bad arguments in %s on line %d
28