summaryrefslogtreecommitdiff
path: root/ext/intl/tests/bug12887.phpt
blob: e2fc19494413d85d41e52f316826f1910b6a8a2b (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