File size: 512 Bytes
1e94262
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
30
--TEST--
locale_get_keywords() bug #12887
--EXTENSIONS--
intl
--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