1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-php-src/ext/intl/tests/calendar_getKeywordValuesForLocale_basic.phpt
Gina Peter Banyard c42e6d62d8 ext/intl: modernize tests (#19392)
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
2025-08-06 23:33:48 +01:00

24 lines
442 B
PHP

--TEST--
IntlCalendar::getKeywordValuesForLocale() basic test
--EXTENSIONS--
intl
--FILE--
<?php
var_dump(iterator_to_array(IntlCalendar::getKeywordValuesForLocale('calendar', 'pt', true)));
echo "\n";
$var = iterator_to_array(intlcal_get_keyword_values_for_locale('calendar', 'pt', false));
var_dump(count($var) > 8);
var_dump(in_array('japanese', $var));
?>
--EXPECT--
array(1) {
[0]=>
string(9) "gregorian"
}
bool(true)
bool(true)