blob: 36d8e2f320d10d188eac6ab3bbafc8640756cfdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--TEST--
locale_get_keywords() bug #12887
--SKIPIF--
<?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
--FILE--
<?php
function ut_main()
{
$res_str = '';
$keywords_arr = ut_loc_get_keywords( 'de_DE@currency=EUR;collation=PHONEBOOK;sort=PHONEBOOK' );
if ($keywords_arr) {
foreach( $keywords_arr as $key => $value){
$res_str .= "$key = $value\n";
}
}
$res_str .= "\n";
return $res_str;
}
include_once( 'ut_common.inc' );
ut_run();
?>
--EXPECT--
collation = PHONEBOOK
currency = EUR
sort = PHONEBOOK
|