1--TEST--
2IntlCalendar::getKeywordValuesForLocale() basic test
3--EXTENSIONS--
4intl
5--FILE--
6<?php
7ini_set("intl.error_level", E_WARNING);
8ini_set("intl.default_locale", "nl");
9
10print_r(
11iterator_to_array(
12IntlCalendar::getKeywordValuesForLocale('calendar', 'pt', true)
13));
14echo "\n";
15
16$var = iterator_to_array(
17intlcal_get_keyword_values_for_locale('calendar', 'pt', false)
18);
19var_dump(count($var) > 8);
20var_dump(in_array('japanese', $var));
21
22?>
23--EXPECT--
24Array
25(
26    [0] => gregorian
27)
28
29bool(true)
30bool(true)
31