Home
last modified time | relevance | path

Searched refs:formatter (Results 1 – 24 of 24) sorted by relevance

/PHP-7.2/ext/intl/doc/
H A Dformatter_api.php348 * @param NumberFormatter $formatter The formatter resource
372 * @param NumberFormatter $formatter The formatter resource
383 * @param NumberFormatter $formatter The formatter resource
397 * @param NumberFormatter $formatter The formatter resource
440 function numfmt_set_pattern($formatter, $pattern) {} argument
448 function numfmt_get_attribute($formatter, $attribute) {} argument
464 function numfmt_get_symbol($formatter, $attribute) {} argument
476 function numfmt_get_pattern($formatter) {} argument
484 function numfmt_get_locale($formatter, $type = 0) {} argument
493 function numfmt_get_error_code($formatter) {} argument
[all …]
H A Dmsgfmt_api.php205 * @param NumberFormatter $formatter The formatter resource
208 function msgfmt_get_locale($formatter) {} argument
/PHP-7.2/ext/intl/tests/
H A Dbug76942_MessageFormatter.phpt17 $formatter = new MessageFormatter($locale, $message);
18 if (!$formatter) {
22 $result = $formatter->format($vars);
24 throw new Exception($formatter->getErrorMessage(), $formatter->getErrorCode());
H A Dbug59597_32.phpt9 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
10 $value = $formatter->parse('2147483647', \NumberFormatter::TYPE_INT32);
13 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
14 $value = $formatter->parse('2147483650', \NumberFormatter::TYPE_INT64);
H A Dbug59597_64.phpt9 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
10 $value = $formatter->parse('2147483647', \NumberFormatter::TYPE_INT32);
13 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
14 $value = $formatter->parse('2147483650', \NumberFormatter::TYPE_INT64);
H A Dmsgfmt_fail2.phpt101 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
102 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
103 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
106 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
107 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
120 'msgfmt_create: message formatter creation failed: U_PATTERN_SYNTAX_ERROR'
121 'msgfmt_create: message formatter creation failed: U_PATTERN_SYNTAX_ERROR'
122 'msgfmt_create: message formatter creation failed: U_PATTERN_SYNTAX_ERROR'
125 'msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES'
126 'msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES'
[all …]
H A Dmsgfmt_fail.phpt101 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
102 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
103 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
106 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
107 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
108 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
120 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
121 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
125 'msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES'
126 'msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES'
[all …]
H A Dformatter_fail.phpt79 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
80 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
81 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
93 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
94 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
95 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
98 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
99 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
100 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
H A Dbug75378.phpt10 $formatter = new IntlDateFormatter("en-GB", IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'UTC'…
12 $parsedDate = $formatter->parse("2017-10-12", $position);
14 $localdate = $formatter->localtime("2017-10-12 00:00:00", $position1);
H A Dformatter_format.phpt56 $str_res .= "Bad formatter!\n";
82 Bad formatter!
94 Bad formatter!
106 Bad formatter!
118 Bad formatter!
130 Bad formatter!
H A Dformatter_format2.phpt56 $str_res .= "Bad formatter!\n";
82 Bad formatter!
94 Bad formatter!
106 Bad formatter!
118 Bad formatter!
130 Bad formatter!
H A Dformatter_format3.phpt57 $str_res .= "Bad formatter!\n";
83 Bad formatter!
95 Bad formatter!
107 Bad formatter!
119 Bad formatter!
131 Bad formatter!
H A Ddateformat_bug65683.phpt9 $formatter = new IntlDateFormatter('en-US', IntlDateFormatter::FULL, IntlDateFormatter::NONE, new D…
10 var_dump($formatter->format(new DateTimeImmutable('2017-03-27 00:00:00 UTC'))) . "\n";
H A Dmsgfmt_format.phpt66 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
H A Dmsgfmt_parse.phpt106 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
H A Dformatter_format4.phpt57 $str_res .= "Bad formatter!\n";
H A Dformatter_format5.phpt57 $str_res .= "Bad formatter!\n";
H A Dformatter_format6.phpt57 $str_res .= "Bad formatter!\n";
H A Dformatter_format7.phpt57 $str_res .= "Bad formatter!\n";
H A Dformatter_format8.phpt56 $str_res .= "Bad formatter!\n";
/PHP-7.2/ext/intl/
H A Dconfig.m436 formatter/formatter.c \
37 formatter/formatter_main.c \
38 formatter/formatter_class.c \
39 formatter/formatter_attr.c \
40 formatter/formatter_data.c \
41 formatter/formatter_format.c \
42 formatter/formatter_parse.c \
102 PHP_ADD_BUILD_DIR($ext_builddir/formatter)
H A Dconfig.w3232 ADD_SOURCES(configure_module_dirname + "/formatter", "\
33 formatter.c \
H A Dphp_intl.c163 ZEND_ARG_INFO(0, formatter)
170 ZEND_ARG_INFO(0, formatter)
240 ZEND_ARG_INFO(0, formatter)
/PHP-7.2/ext/date/tests/
H A Dbug48058.phpt2 Bug #48058 (Year formatter goes wrong with out-of-int range)

Completed in 21 milliseconds