Download src/php/php-src/ext/intl/tests/bug12887.phpt from meddyrat/dis-bench: direct link, hf CLI and curl.
- Browser
- Download file 512 Bytes
-
https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/intl/tests/bug12887.phpt
- Command line
-
hf download hf://datasets/meddyrat/dis-bench/src/php/php-src/ext/intl/tests/bug12887.phpt
-
curl -L -o bug12887.phpt https://huggingface.co/datasets/meddyrat/dis-bench/resolve/main/src/php/php-src/ext/intl/tests/bug12887.phpt
512 Bytes
| --TEST-- | |
| locale_get_keywords() bug #12887 | |
| --EXTENSIONS-- | |
| intl | |
| --FILE-- | |
| 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 | |