Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/intl/
H A Dphp_intl.stub.php163 function datefmt_get_datetype(IntlDateFormatter $formatter): int|false {} argument
165 function datefmt_get_timetype(IntlDateFormatter $formatter): int|false {} argument
167 function datefmt_get_calendar(IntlDateFormatter $formatter): int|false {} argument
188 function datefmt_is_lenient(IntlDateFormatter $formatter): bool {} argument
205 function datefmt_get_error_code(IntlDateFormatter $formatter): int {} argument
240 function numfmt_get_pattern(NumberFormatter $formatter): string|false {} argument
244 function numfmt_get_error_code(NumberFormatter $formatter): int {} argument
246 function numfmt_get_error_message(NumberFormatter $formatter): string {} argument
330 function msgfmt_get_pattern(MessageFormatter $formatter): string|false {} argument
332 function msgfmt_get_locale(MessageFormatter $formatter): string {} argument
[all …]
H A Dconfig.m425 formatter/formatter.c \
26 formatter/formatter_main.c \
27 formatter/formatter_class.c \
28 formatter/formatter_attr.c \
29 formatter/formatter_data.c \
30 formatter/formatter_format.c \
31 formatter/formatter_parse.c \
100 PHP_ADD_BUILD_DIR($ext_builddir/formatter)
H A Dphp_intl_arginfo.h377 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
383 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
390 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
396 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
403 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
409 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
414 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
420 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
425 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
431 ZEND_ARG_OBJ_INFO(0, formatter, NumberFormatter, 0)
[all …]
H A Dconfig.w3231 ADD_SOURCES(configure_module_dirname + "/formatter", "\
32 formatter.c \
/PHP-8.0/ext/intl/tests/
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 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_fail.phpt111 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
112 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
113 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
125 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
126 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
127 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
130 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
131 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
132 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
H A Dmsgfmt_fail2.phpt129 IntlException: msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR in %s on …
130 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
131 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
132 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
135 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
136 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
137 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
153 IntlException: msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES in %s on line %d
154 'msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES'
155 'msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES'
[all …]
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 Dbug68471.phpt9 $formatter = new IntlDateFormatter(
15 var_dump($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 Dbug74063.phpt9 $formatter = new NumberFormatter("en_GB", NumberFormatter::CURRENCY);
11 serialize($formatter);
H A Dbug80763.phpt10 $formatter = new \MessageFormatter('en_US', 'Today is {today, date, full}.');
13 var_dump($formatter->format($params));
H A Dgh8364.phpt9 $formatter = new MessageFormatter('en', 'translate {0}');
14 $result = $formatter->format($args);
H A Ddateformat_format_relative.phpt29 $formatter = new IntlDateFormatter(
37 echo $formatter->format($time) . "\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_format8.phpt56 $str_res .= "Bad formatter!\n";
H A Dformatter_format7.phpt57 $str_res .= "Bad formatter!\n";
/PHP-8.0/ext/date/tests/
H A Dbug48058.phpt2 Bug #48058 (Year formatter goes wrong with out-of-int range)

Completed in 41 milliseconds

12