Home
last modified time | relevance | path

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

12

/PHP-7.2/ext/intl/doc/
H A Dmsgfmt_api.php13 class MessageFormatter { class
119 * @return MessageFormatter formatter object
125 * @param MessageFormatter $fmt The message formatter
137 * @param MessageFormatter $fmt The message formatter
171 * @param MessageFormatter $fmt The message formatter
179 * @param MessageFormatter $fmt The message formatter
190 * @param MessageFormatter $fmt The message formatter
197 * @param MessageFormatter $fmt The message formatter
/PHP-7.2/ext/intl/tests/
H A Dmsgfmt_clone_bad_obj.phpt2 Cloning unconstructed MessageFormatter
8 class A extends MessageFormatter {
19 string(%d) "Cannot clone unconstructed MessageFormatter"
H A Dmsgfmt_format_error4.phpt2 MessageFormatter::format() invalid UTF-8 for arg key or value
17 $mf = new MessageFormatter('en_US', $fmt);
22 Warning: MessageFormatter::format(): Invalid UTF-8 data in argument key: '�' in %s on line %d
25 Warning: MessageFormatter::format(): Invalid UTF-8 data in string argument: '�' in %s on line %d
H A Dmsgfmt_fail2.phpt24 return new MessageFormatter($l, $s);
31 return MessageFormatter::create($l, $s);
49 $fmt = new MessageFormatter();
57 $fmt = MessageFormatter::create();
60 $fmt = new MessageFormatter('en');
68 $fmt = MessageFormatter::create('en');
82 ArgumentCountError: MessageFormatter::__construct() expects exactly 2 parameters, 0 given in %s on …
88 Warning: MessageFormatter::create() expects exactly 2 parameters, 0 given in %s on line %d
91 ArgumentCountError: MessageFormatter::__construct() expects exactly 2 parameters, 1 given in %s on …
97 Warning: MessageFormatter::create() expects exactly 2 parameters, 1 given in %s on line %d
[all …]
H A Dmsgfmt_fail.phpt24 return new MessageFormatter($l, $s);
31 return MessageFormatter::create($l, $s);
49 $fmt = new MessageFormatter();
57 $fmt = MessageFormatter::create();
60 $fmt = new MessageFormatter('en');
68 $fmt = MessageFormatter::create('en');
82 TypeError: MessageFormatter::__construct() expects exactly 2 parameters, 0 given in %s on line %d
88 Warning: MessageFormatter::create() expects exactly 2 parameters, 0 given in %s on line %d
91 TypeError: MessageFormatter::__construct() expects exactly 2 parameters, 1 given in %s on line %d
97 Warning: MessageFormatter::create() expects exactly 2 parameters, 1 given in %s on line %d
[all …]
H A Dmsgfmt_format_error5.phpt2 MessageFormatter::format() invalid date/time argument
19 $mf = new MessageFormatter('en_US', $fmt);
22 Warning: MessageFormatter::format(): msgfmt_format: invalid object type for date/time (only IntlCal…
24 Warning: MessageFormatter::format(): The argument for key 'foo' cannot be used as a date or time in…
H A Dmsgfmt_format_error2.phpt2 MessageFormatter::format() inconsistent types in named argument
17 $mf = new MessageFormatter('en_US', $fmt);
20 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
17 $mf = new MessageFormatter('en_US', $fmt);
20 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
17 $mf = new MessageFormatter('en_US', $fmt);
20 Warning: MessageFormatter::format(): No strategy to convert the value given for the argument with k…
H A Dmsgfmt_format_error1.phpt2 MessageFormatter::format() insufficient numeric arguments
15 $mf = new MessageFormatter('en_US', $fmt);
H A Dbug58756_MessageFormatter.phpt2 Bug #58756: w.r.t MessageFormatter
19 $msgf = new MessageFormatter('en_US', '{0,date,full} {0,time,h:m:s a V}');
25 /*$msgf = new MessageFormatter('en_US',
H A Dbug58756_MessageFormatter_variant2.phpt2 Bug #58756: w.r.t MessageFormatter
19 $msgf = new MessageFormatter('en_US', '{0,date,full} {0,time,h:m:s a V}');
25 /*$msgf = new MessageFormatter('en_US',
H A Dmsgfmt_setPattern_cache.phpt2 MessageFormatter::setPattern() invalidates arg types cache
12 $mf = new MessageFormatter('en_US',
H A Dmsgfmt_format_mixed_params.phpt2 MessageFormatter::format(): mixed named and numeric parameters
14 $mf = new MessageFormatter('en_US',
H A Dbug74484_MessageFormatter.phpt2 Bug #74484 MessageFormatter::formatMessage memory corruption with 11+ named placeholder
29 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
H A Dmsgfmt_format_datetime.phpt2 MessageFormatter::format(): DateTime accepted to format dates and times
21 $mf = new MessageFormatter('en_US', $fmt);
H A Dmsgfmt_format_intlcalendar_variant4.phpt15 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
19 /*$msgf = new MessageFormatter('en_US',
H A Dmsgfmt_format_intlcalendar.phpt15 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
19 /*$msgf = new MessageFormatter('en_US',
H A Dmsgfmt_format_intlcalendar_variant2.phpt15 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
19 /*$msgf = new MessageFormatter('en_US',
H A Dmsgfmt_format_intlcalendar_variant3.phpt16 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}');
20 /*$msgf = new MessageFormatter('en_US',
H A Dmsgfmt_format_simple_types_numeric_strings.phpt2 MessageFormatter::format(): simple types handling with numeric strings
16 $mf = new MessageFormatter('en_US',"
H A Dbug76942_MessageFormatter.phpt17 $formatter = new MessageFormatter($locale, $message);
H A Dmsgfmt_bug70484.phpt18 …$m = new MessageFormatter($lc, "{n, selectordinal, =5 {five} zero {#-zero} one {#-one} two {#-two}…
28 …$m = new MessageFormatter($lc, "{0, selectordinal, =5 {five} zero {#-zero} one {#-one} two {#-two}…
/PHP-7.2/ext/intl/msgformat/
H A Dmsgformat.h25 PHP_METHOD( MessageFormatter, __construct );
H A Dmsgformat_class.h50 #define MSG_FORMAT_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(MessageFormatter, mfo)

Completed in 34 milliseconds

12