Home
last modified time | relevance | path

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

/php-src/ext/intl/
H A Dphp_intl.stub.php341 function datefmt_get_datetype(IntlDateFormatter $formatter): int|false {} argument
343 function datefmt_get_timetype(IntlDateFormatter $formatter): int|false {} argument
345 function datefmt_get_calendar(IntlDateFormatter $formatter): int|false {} argument
366 function datefmt_is_lenient(IntlDateFormatter $formatter): bool {} argument
387 function datefmt_get_error_code(IntlDateFormatter $formatter): int {} argument
422 function numfmt_get_pattern(NumberFormatter $formatter): string|false {} argument
426 function numfmt_get_error_code(NumberFormatter $formatter): int {} argument
428 function numfmt_get_error_message(NumberFormatter $formatter): string {} argument
526 function msgfmt_get_pattern(MessageFormatter $formatter): string|false {} argument
528 function msgfmt_get_locale(MessageFormatter $formatter): string {} argument
[all …]
H A Dconfig.m428 formatter/formatter_attr.c
29 formatter/formatter_class.c
30 formatter/formatter_data.c
31 formatter/formatter_format.c
32 formatter/formatter_main.c
33 formatter/formatter_parse.c
118 $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", "\
/php-src/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 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 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 Dformatter_fail.phpt141 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
142 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
143 'numfmt_create: number formatter creation failed: U_UNSUPPORTED_ERROR'
146 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
147 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
148 'numfmt_create: number formatter creation failed: U_MEMORY_ALLOCATION_ERROR'
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_format6.phpt57 $str_res .= "Bad formatter!\n";
H A Dformatter_format8.phpt57 $str_res .= "Bad formatter!\n";
H A Dformatter_format7.phpt58 $str_res .= "Bad formatter!\n";
/php-src/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)
/php-src/ext/mysqli/tests/
H A Dbug76386.phpt2 Prepared Statement formatter truncates fractional seconds from date/time column (bug #76386)

Completed in 21 milliseconds