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');
9--FILE--
10<?php
11ini_set("intl.error_level", E_WARNING);
12
13$c = new IntlGregorianCalendar(NULL, 'pt_PT');
14
15IntlTimeZone::getUnknown(1);
16
17intltz_get_unknown(1);
18--EXPECTF--
19Warning: IntlTimeZone::getUnknown() expects exactly 0 parameters, 1 given in %s on line %d
20
21Warning: IntlTimeZone::getUnknown(): intltz_get_unknown: bad arguments in %s on line %d
22
23Warning: intltz_get_unknown() expects exactly 0 parameters, 1 given in %s on line %d
24
25Warning: intltz_get_unknown(): intltz_get_unknown: bad arguments in %s on line %d
26