1--TEST--
2IntlCalendar::getAvailableLocales(): bad arguments
3--SKIPIF--
4<?php
5if (!extension_loaded('intl'))
6	die('skip intl extension not enabled');
7--FILE--
8<?php
9ini_set("intl.error_level", E_WARNING);
10
11var_dump(intlcal_get_available_locales(1));
12var_dump(IntlCalendar::getAvailableLocales(2));
13--EXPECTF--
14Warning: intlcal_get_available_locales() expects exactly 0 parameters, 1 given in %s on line %d
15
16Warning: intlcal_get_available_locales(): intlcal_get_available_locales: bad arguments in %s on line %d
17bool(false)
18
19Warning: IntlCalendar::getAvailableLocales() expects exactly 0 parameters, 1 given in %s on line %d
20
21Warning: IntlCalendar::getAvailableLocales(): intlcal_get_available_locales: bad arguments in %s on line %d
22bool(false)
23