Home
last modified time | relevance | path

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

12

/PHP-8.2/ext/intl/
H A Dphp_intl.stub.php339 function datefmt_get_datetype(IntlDateFormatter $formatter): int|false {} argument
341 function datefmt_get_timetype(IntlDateFormatter $formatter): int|false {} argument
343 function datefmt_get_calendar(IntlDateFormatter $formatter): int|false {} argument
364 function datefmt_is_lenient(IntlDateFormatter $formatter): bool {} argument
385 function datefmt_get_error_code(IntlDateFormatter $formatter): int {} argument
420 function numfmt_get_pattern(NumberFormatter $formatter): string|false {} argument
424 function numfmt_get_error_code(NumberFormatter $formatter): int {} argument
426 function numfmt_get_error_message(NumberFormatter $formatter): string {} argument
522 function msgfmt_get_pattern(MessageFormatter $formatter): string|false {} argument
524 function msgfmt_get_locale(MessageFormatter $formatter): string {} argument
[all …]
H A Dconfig.m424 formatter/formatter_main.c \
25 formatter/formatter_class.c \
26 formatter/formatter_attr.c \
27 formatter/formatter_data.c \
28 formatter/formatter_format.c \
29 formatter/formatter_parse.c \
106 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 …]
/PHP-8.2/ext/intl/tests/
H A Dbug59597_32.phpt10 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
11 $value = $formatter->parse('2147483647', \NumberFormatter::TYPE_INT32);
14 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
15 $value = $formatter->parse('2147483650', \NumberFormatter::TYPE_INT64);
H A Dbug59597_64.phpt10 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
11 $value = $formatter->parse('2147483647', \NumberFormatter::TYPE_INT32);
14 $formatter = new \NumberFormatter('en', \NumberFormatter::DECIMAL);
15 $value = $formatter->parse('2147483650', \NumberFormatter::TYPE_INT64);
H A Dbug75378.phpt8 $formatter = new IntlDateFormatter("en-GB", IntlDateFormatter::NONE, IntlDateFormatter::NONE, 'UTC'…
10 $parsedDate = $formatter->parse("2017-10-12", $position);
12 $localdate = $formatter->localtime("2017-10-12 00:00:00", $position1);
H A Dformatter_format2.phpt57 $str_res .= "Bad formatter!\n";
83 Bad formatter!
95 Bad formatter!
107 Bad formatter!
119 Bad formatter!
131 Bad formatter!
H A Dformatter_format3.phpt58 $str_res .= "Bad formatter!\n";
84 Bad formatter!
96 Bad formatter!
108 Bad formatter!
120 Bad formatter!
132 Bad formatter!
H A Dmsgfmt_fail2.phpt133 IntlException: msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR in %s on …
134 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
139 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
144 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
147 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
148 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
149 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
165 IntlException: msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES in %s on line %d
166 'msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES'
167 'msgfmt_create: message formatter creation failed: U_UNMATCHED_BRACES'
[all …]
H A Dbug68471.phpt7 $formatter = new IntlDateFormatter(
13 var_dump($formatter);
H A Dformatter_fail.phpt123 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
124 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
125 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
137 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
138 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
139 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
142 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
143 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
144 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
H A Ddateformat_bug65683.phpt8 $formatter = new IntlDateFormatter('en-US', IntlDateFormatter::FULL, IntlDateFormatter::NONE, new D…
9 var_dump($formatter->format(new DateTimeImmutable('2017-03-27 00:00:00 UTC'))) . "\n";
H A Dbug74063.phpt7 $formatter = new NumberFormatter("en_GB", NumberFormatter::CURRENCY);
9 serialize($formatter);
H A Dbug80763.phpt8 $formatter = new \MessageFormatter('en_US', 'Today is {today, date, full}.');
11 var_dump($formatter->format($params));
H A Dgh8364.phpt7 $formatter = new MessageFormatter('en', 'translate {0}');
12 $result = $formatter->format($args);
H A Ddateformat_format_relative.phpt31 $formatter = new IntlDateFormatter(
39 echo $formatter->format($time) . "\n";
H A Dmsgfmt_parse.phpt106 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
H A Dmsgfmt_format.phpt66 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
H A Dformatter_format4.phpt58 $str_res .= "Bad formatter!\n";
H A Dformatter_format5.phpt58 $str_res .= "Bad formatter!\n";
H A Dformatter_format6.phpt58 $str_res .= "Bad formatter!\n";
H A Dformatter_format7.phpt58 $str_res .= "Bad formatter!\n";
H A Dformatter_format8.phpt57 $str_res .= "Bad formatter!\n";
/PHP-8.2/ext/date/tests/
H A Dbug-gh11600.phpt9 $formatter = new IntlDateFormatter('en_US', -1, 3);
10 $pattern = $formatter->getPattern();
12 $timeString = $formatter->format(strtotime('2023-07-11 16:02'));
H A Dbug48058.phpt2 Bug #48058 (Year formatter goes wrong with out-of-int range)

Completed in 29 milliseconds

12