mirror of
https://github.com/php/php-src.git
synced 2024-12-03 06:44:07 +08:00
3e74c7848d
# do not use yet in HEAD, needs some adjustment
30 lines
527 B
PHP
Executable File
30 lines
527 B
PHP
Executable File
--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
|