Home
last modified time | relevance | path

Searched refs:currency (Results 1 – 25 of 53) sorted by relevance

123

/php-src/ext/intl/tests/
H A Dformatter_parse_currency.phpt18 $currency = '';
19 $num = ut_nfmt_parse_currency( $fmt, '$9,988,776.65', $currency, $pos );
20 $res_str .= "$num $currency\n";
24 $currency = '';
25 $num = ut_nfmt_parse_currency( $fmt, ' $123.45', $currency, $pos );
26 $res_str .= "$num $currency\n";
H A Dcollator_create2.phpt22 'uk-ua_CALIFORNIA@currency=;currency=GRN',
25 'uk@currency=EURO',
67 Locale: 'uk-ua_CALIFORNIA@currency=;currency=GRN'
68 ULOC_REQUESTED_LOCALE = 'uk-ua_CALIFORNIA@currency=;currency=GRN'
79 Locale: 'uk@currency=EURO'
80 ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
H A Dcollator_create3.phpt23 'uk-ua_CALIFORNIA@currency=;currency=GRN',
26 'uk@currency=EURO',
68 Locale: 'uk-ua_CALIFORNIA@currency=;currency=GRN'
69 ULOC_REQUESTED_LOCALE = 'uk-ua_CALIFORNIA@currency=;currency=GRN'
80 Locale: 'uk@currency=EURO'
81 ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
H A Dcollator_create4.phpt22 'uk-ua_CALIFORNIA@currency=;currency=GRN',
25 'uk@currency=EURO',
67 Error creating collator with 'uk-ua_CALIFORNIA@currency=;currency=GRN' locale: collator_create: una…
76 Locale: 'uk@currency=EURO'
77 ULOC_REQUESTED_LOCALE = 'uk@currency=EURO'
H A Dformatter_format_currency2.phpt13 * currency formatting.
30 foreach( $locales as $locale => $currency )
33 …$res_str .= "$locale: " . var_export( ut_nfmt_format_currency( $fmt, $number, $currency ), true ) …
H A Dlocale_set_default.phpt18 'uk-ua_CALIFORNIA@currency=;currency=GRN',
20 'uk@currency=EURO',
98 uk-ua_CALIFORNIA@currency=;currency=GRN: set locale 'uk-ua_CALIFORNIA@currency=;currency=GRN'
100 uk@currency=EURO: set locale 'uk@currency=EURO'
H A Dbug12887.phpt11 $keywords_arr = ut_loc_get_keywords( 'de_DE@currency=EUR;collation=PHONEBOOK;sort=PHONEBOOK' );
28 currency = EUR
H A Dlocale_get_script.phpt17 'uk-ua_CALIFORNIA@currency=;currency=GRN',
19 'uk@currency=EURO',
86 uk-ua_CALIFORNIA@currency=;currency=GRN: script=''
88 uk@currency=EURO: script=''
H A Dlocale_get_region.phpt18 'uk-ua_CALIFORNIA@currency=;currency=GRN',
20 'uk@currency=EURO',
88 uk-ua_CALIFORNIA@currency=;currency=GRN: region='UA'
90 uk@currency=EURO: region=''
H A Dformatter_get_error.phpt16 $currency = '';
18 $num = ut_nfmt_parse_currency( $fmt, '123.45', $currency, $pos );
H A Dlocale_get_keywords2.phpt18 "de_DE@currency=EUR;collation=PHONEBOOK",
19 'uk-ua_CALIFORNIA@currency=GRN'
23 'de_DE@currency=EUR;collation=PHONEBOOK',
25 'uk@currency=EURO',
101 de_DE@currency=EUR;collation=PHONEBOOK: Key is collation and Value is PHONEBOOK
102 Key is currency and Value is EUR
105 uk@currency=EURO: Key is currency and Value is EURO
H A Dmsgfmt_format_simple_types_numeric_strings.phpt18 number currency {d,number,currency}
47 number currency $1,336,317,965.50
H A Dmsgfmt_format_simple_types_numeric_strings_icu72-1.phpt18 number currency {d,number,currency}
47 number currency $1,336,317,965.50
H A Dlocale_get_primary_language.phpt18 'uk-ua_CALIFORNIA@currency=;currency=GRN',
20 'uk@currency=EURO',
87 uk-ua_CALIFORNIA@currency=;currency=GRN: primary_language='uk'
89 uk@currency=EURO: primary_language='uk'
H A Dlocale_parse_locale2.phpt18 'uk-ua_CALIFORNIA@currency=;currency=GRN',
20 'uk@currency=EURO',
100 uk-ua_CALIFORNIA@currency=;currency=GRN:
106 uk@currency=EURO:
H A Dlocale_get_all_variants.phpt26 'sl_IT_rozaj@currency=EUR'
62 sl_IT_rozaj@currency=EUR : variants 'ROZAJ',
H A Dlocale_get_display_region3.phpt22 'uk-ua_CALIFORNIA@currency=;currency=GRN',
24 'uk@currency=EURO',
97 locale='uk-ua_CALIFORNIA@currency=;currency=GRN'
107 locale='uk@currency=EURO'
H A Dlocale_get_display_script3.phpt22 'uk-ua_CALIFORNIA@currency=;currency=GRN',
24 'uk@currency=EURO',
97 locale='uk-ua_CALIFORNIA@currency=;currency=GRN'
107 locale='uk@currency=EURO'
/php-src/ext/intl/tests/locale/
H A Dbug72809.phpt9 Locale::lookup(['en', 'en_US'], 'en_US@currency=eur;fw=mon;timezone=Europe/Berlin', false),
10 Locale::lookup(['en', 'en_US'], 'en_US@currency=eur;fw=mon;timezone=Europe/Berlin', true),
/php-src/ext/intl/formatter/
H A Dformatter_parse.c126 UChar currency[5] = {0}; in PHP_FUNCTION() local
156 …number = unum_parseDoubleCurrency(FORMATTER_OBJECT(nfo), sstr, sstr_len, position_p, currency, &IN… in PHP_FUNCTION()
166 u8str = intl_convert_utf16_to_utf8(currency, u_strlen(currency), &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
H A Dformatter_format.c132 char* currency = NULL; in PHP_FUNCTION() local
140 &object, NumberFormatter_ce_ptr, &number, &currency, &currency_len ) == FAILURE ) in PHP_FUNCTION()
149 …intl_convert_utf8_to_utf16(&scurrency, &scurrency_len, currency, currency_len, &INTL_DATA_ERROR_CO… in PHP_FUNCTION()
H A Dformatter_functions_arginfo.h25 ZEND_ARG_TYPE_INFO(0, currency, IS_STRING, 0)
31 ZEND_ARG_INFO(1, currency)
H A Dformatter.stub.php213 public function formatCurrency(float $amount, string $currency): string|false {} argument
216 * @param string $currency
221 public function parseCurrency(string $string, &$currency, &$offset = null): float|false {} argument
/php-src/ext/standard/tests/strings/
H A Dsetlocale_basic1.phpt37 Check the currency settings in the new locale */
54 //set of currency symbol according to above list of locales
95 //checking currency settings in the new locale to see if the setlocale() was effective
97 echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$value].", Found: …
111 Checking currency settings in the new locale, expected: %s, Found: %s
H A Dsetlocale_basic2.phpt55 //set of currency symbol according to above list of locales
75 // checking the currency setting of the system(use localconv())
98 …echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$new_locale].", F…
116 Checking currency settings in the new locale, expected: %s, Found: %s

Completed in 33 milliseconds

123