/PHP-7.2/ext/intl/doc/ |
H A D | formatter_api.php | 348 * @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 D | msgfmt_api.php | 205 * @param NumberFormatter $formatter The formatter resource 208 function msgfmt_get_locale($formatter) {} argument
|
/PHP-7.2/ext/intl/tests/ |
H A D | bug76942_MessageFormatter.phpt | 17 $formatter = new MessageFormatter($locale, $message); 18 if (!$formatter) { 22 $result = $formatter->format($vars); 24 throw new Exception($formatter->getErrorMessage(), $formatter->getErrorCode());
|
H A D | bug59597_32.phpt | 9 $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 D | bug59597_64.phpt | 9 $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 D | msgfmt_fail2.phpt | 101 '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 D | msgfmt_fail.phpt | 101 '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 D | formatter_fail.phpt | 79 '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 D | bug75378.phpt | 10 $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 D | formatter_format.phpt | 56 $str_res .= "Bad formatter!\n"; 82 Bad formatter! 94 Bad formatter! 106 Bad formatter! 118 Bad formatter! 130 Bad formatter!
|
H A D | formatter_format2.phpt | 56 $str_res .= "Bad formatter!\n"; 82 Bad formatter! 94 Bad formatter! 106 Bad formatter! 118 Bad formatter! 130 Bad formatter!
|
H A D | formatter_format3.phpt | 57 $str_res .= "Bad formatter!\n"; 83 Bad formatter! 95 Bad formatter! 107 Bad formatter! 119 Bad formatter! 131 Bad formatter!
|
H A D | dateformat_bug65683.phpt | 9 $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 D | msgfmt_format.phpt | 66 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
|
H A D | msgfmt_parse.phpt | 106 'msgfmt_create: message formatter creation failed: U_ILLEGAL_ARGUMENT_ERROR'
|
H A D | formatter_format4.phpt | 57 $str_res .= "Bad formatter!\n";
|
H A D | formatter_format5.phpt | 57 $str_res .= "Bad formatter!\n";
|
H A D | formatter_format6.phpt | 57 $str_res .= "Bad formatter!\n";
|
H A D | formatter_format7.phpt | 57 $str_res .= "Bad formatter!\n";
|
H A D | formatter_format8.phpt | 56 $str_res .= "Bad formatter!\n";
|
/PHP-7.2/ext/intl/ |
H A D | config.m4 | 36 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 D | config.w32 | 32 ADD_SOURCES(configure_module_dirname + "/formatter", "\ 33 formatter.c \
|
H A D | php_intl.c | 163 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 D | bug48058.phpt | 2 Bug #48058 (Year formatter goes wrong with out-of-int range)
|