1--TEST--
2IntlCalendar::getAvailableLocales() basic test
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);
10ini_set("intl.default_locale", "nl");
11
12$locales = IntlCalendar::getAvailableLocales();
13var_dump(count($locales) > 100);
14
15$locales = intlcal_get_available_locales();
16var_dump(in_array('pt', $locales));
17
18?>
19--EXPECT--
20bool(true)
21bool(true)
21