1--TEST--
2IntlCalendar::getKeywordValuesForLocale() 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
12print_r(
13iterator_to_array(
14IntlCalendar::getKeywordValuesForLocale('calendar', 'pt', true)
15));
16echo "\n";
17
18$var = iterator_to_array(
19intlcal_get_keyword_values_for_locale('calendar', 'pt', false)
20);
21var_dump(count($var) > 8);
22var_dump(in_array('japanese', $var));
23
24?>
25==DONE==
26--EXPECT--
27Array
28(
29    [0] => gregorian
30)
31
32bool(true)
33bool(true)
34==DONE==
35