Home
last modified time | relevance | path

Searched refs:MessageFormatter (Results 1 – 25 of 33) sorted by relevance

12

/php-src/ext/intl/tests/
H A Dmsgfmt_format_error4.phpt2 MessageFormatter::format() invalid UTF-8 for arg key or value
13 $mf = new MessageFormatter('en_US', $fmt);
19 Warning: MessageFormatter::format(): Invalid UTF-8 data in argument key: '�' in %s on line %d
22 Warning: MessageFormatter::format(): Invalid UTF-8 data in string argument: '�' in %s on line %d
H A Dmsgfmt_fail2.phpt23 return new MessageFormatter($l, $s);
31 return MessageFormatter::create($l, $s);
58 $fmt = new MessageFormatter();
72 $fmt = MessageFormatter::create();
79 $fmt = new MessageFormatter('en');
93 $fmt = MessageFormatter::create('en');
111 ArgumentCountError: MessageFormatter::__construct() expects exactly 2 arguments, 0 given in %s on l…
117 ArgumentCountError: MessageFormatter::create() expects exactly 2 arguments, 0 given in %s on line %d
120 ArgumentCountError: MessageFormatter::__construct() expects exactly 2 arguments, 1 given in %s on l…
126 ArgumentCountError: MessageFormatter::create() expects exactly 2 arguments, 1 given in %s on line %d
[all …]
H A Dmsgfmt_format_error5.phpt2 MessageFormatter::format() invalid date/time argument
15 $mf = new MessageFormatter('en_US', $fmt);
19 Warning: MessageFormatter::format(): msgfmt_format: invalid object type for date/time (only IntlCal…
21 Warning: MessageFormatter::format(): The argument for key 'foo' cannot be used as a date or time in…
H A Dmsgfmt_clone_bad_obj.phpt2 Cloning uninitialized MessageFormatter
8 class A extends MessageFormatter {
21 Error: Cannot clone uninitialized MessageFormatter
H A Dmsgfmt_format_error2.phpt2 MessageFormatter::format() inconsistent types in named argument
13 $mf = new MessageFormatter('en_US', $fmt);
17 Warning: MessageFormatter::format(): Inconsistent types declared for an argument in %s on line %d
H A Dmsgfmt_format_error3.phpt2 MessageFormatter::format() given negative arg key
13 $mf = new MessageFormatter('en_US', $fmt);
17 Warning: MessageFormatter::format(): Found negative or too large array key in %s on line %d
H A Dmsgfmt_format_error6.phpt2 MessageFormatter::format() invalid type for key not in pattern
13 $mf = new MessageFormatter('en_US', $fmt);
17 Warning: MessageFormatter::format(): No strategy to convert the value given for the argument with k…
H A Dgh11658.phpt2 GitHub #11658 MessageFormatter::format() leaks memory
10 $s = MessageFormatter::formatMessage('en', 'some {wrong.format}', []);
17 Warning: MessageFormatter::formatMessage(): pattern syntax error (parse error at offset 6, after "s…
H A Dmsgfmt_format_error1.phpt2 MessageFormatter::format() insufficient numeric arguments
13 $mf = new MessageFormatter('en_US', $fmt);
H A Dmsgfmt_format_mixed_params.phpt2 MessageFormatter::format(): mixed named and numeric parameters
10 $mf = new MessageFormatter('en_US',
H A Dbug58756_MessageFormatter_variant2.phpt2 Bug #58756: w.r.t MessageFormatter
20 $msgf = new MessageFormatter('en_US', '{0,date,full} {0,time,h:m:s a V}');
26 /*$msgf = new MessageFormatter('en_US',
H A Dbug74484_MessageFormatter.phpt2 Bug #74484 MessageFormatter::formatMessage memory corruption with 11+ named placeholder
24 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
H A Dmsgfmt_setPattern_cache.phpt2 MessageFormatter::setPattern() invalidates arg types cache
10 $mf = new MessageFormatter('en_US',
H A Dgh12020.phpt2 GitHub #12020 intl_get_error_message() broken after MessageFormatter::formatMessage() fails
8 var_dump(\MessageFormatter::formatMessage('en', 'some message with {invalid format}', []), intl_get…
9 var_dump(\MessageFormatter::formatMessage('en', 'some {wrong.format}', []), intl_get_error_message(…
H A Dmsgfmt_format_datetime_icu72-1.phpt2 MessageFormatter::format(): DateTime accepted to format dates and times
21 $mf = new MessageFormatter('en_US', $fmt);
H A Dmsgfmt_format_datetime.phpt2 MessageFormatter::format(): DateTime accepted to format dates and times
21 $mf = new MessageFormatter('en_US', $fmt);
H A Dgh8115.phpt25 new \MessageFormatter(null, null);
38 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #1 ($locale) of type stri…
39 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #2 ($pattern) of type str…
H A Dmsgfmt_format_intlcalendar_variant4.phpt19 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
23 /*$msgf = new MessageFormatter('en_US',
H A Dmsgfmt_format_simple_types_numeric_strings.phpt2 MessageFormatter::format(): simple types handling with numeric strings
14 $mf = new MessageFormatter('en_US',"
H A Dmsgfmt_format_simple_types_numeric_strings_icu72-1.phpt2 MessageFormatter::format(): simple types handling with numeric strings
14 $mf = new MessageFormatter('en_US',"
H A Dbug80763.phpt8 $formatter = new \MessageFormatter('en_US', 'Today is {today, date, full}.');
H A Dgh8364.phpt7 $formatter = new MessageFormatter('en', 'translate {0}');
/php-src/ext/intl/msgformat/
H A Dmsgformat.stub.php6 class MessageFormatter class
14 public static function create(string $locale, string $pattern): ?MessageFormatter {}
H A Dmsgformat_arginfo.h9 …WITH_TENTATIVE_RETURN_OBJ_INFO_EX(arginfo_class_MessageFormatter_create, 0, 2, MessageFormatter, 1)
49 ZEND_METHOD(MessageFormatter, __construct);
62 ZEND_ME(MessageFormatter, __construct, arginfo_class_MessageFormatter___construct, ZEND_ACC_PUBLIC)
H A Dmsgformat_class.h44 #define MSG_FORMAT_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(MessageFormatter, mfo)

Completed in 28 milliseconds

12