mirror of
https://github.com/php/php-src.git
synced 2026-03-24 16:22:37 +01:00
This is effectively removing ZPP tests, enabling warnings, and moving INI settings into the INI PHPT block
24 lines
442 B
PHP
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)
|