Home
last modified time | relevance | path

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

12

/PHP-7.4/ext/intl/tests/
H A Dmsgfmt_format_error4.phpt2 MessageFormatter::format() invalid UTF-8 for arg key or value
15 $mf = new MessageFormatter('en_US', $fmt);
20 Warning: MessageFormatter::format(): Invalid UTF-8 data in argument key: '�' in %s on line %d
23 Warning: MessageFormatter::format(): Invalid UTF-8 data in string argument: '�' in %s on line %d
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_error5.phpt2 MessageFormatter::format() invalid date/time argument
17 $mf = new MessageFormatter('en_US', $fmt);
20 Warning: MessageFormatter::format(): msgfmt_format: invalid object type for date/time (only IntlCal…
22 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
15 $mf = new MessageFormatter('en_US', $fmt);
18 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
15 $mf = new MessageFormatter('en_US', $fmt);
18 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
15 $mf = new MessageFormatter('en_US', $fmt);
18 Warning: MessageFormatter::format(): No strategy to convert the value given for the argument with k…
H A Dmsgfmt_fail2.phpt23 return new MessageFormatter($l, $s);
30 return MessageFormatter::create($l, $s);
48 $fmt = new MessageFormatter();
56 $fmt = MessageFormatter::create();
59 $fmt = new MessageFormatter('en');
67 $fmt = MessageFormatter::create('en');
81 ArgumentCountError: MessageFormatter::__construct() expects exactly 2 parameters, 0 given in %s on …
87 Warning: MessageFormatter::create() expects exactly 2 parameters, 0 given in %s on line %d
90 ArgumentCountError: MessageFormatter::__construct() expects exactly 2 parameters, 1 given in %s on …
96 Warning: MessageFormatter::create() expects exactly 2 parameters, 1 given in %s on line %d
[all …]
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_format_mixed_params.phpt2 MessageFormatter::format(): mixed named and numeric parameters
12 $mf = new MessageFormatter('en_US',
H A Dbug74484_MessageFormatter.phpt2 Bug #74484 MessageFormatter::formatMessage memory corruption with 11+ named placeholder
27 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
H A Dmsgfmt_setPattern_cache.phpt2 MessageFormatter::setPattern() invalidates arg types cache
12 $mf = new MessageFormatter('en_US',
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_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_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_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
14 $mf = new MessageFormatter('en_US',"
H A Dbug80763.phpt10 $formatter = new \MessageFormatter('en_US', 'Today is {today, date, full}.');
H A Dmsgfmt_bug70484.phpt16 …$m = new MessageFormatter($lc, "{n, selectordinal, =5 {five} zero {#-zero} one {#-one} two {#-two}…
26 …$m = new MessageFormatter($lc, "{0, selectordinal, =5 {five} zero {#-zero} one {#-one} two {#-two}…
H A Dmsgfmt_millisecond_dates.phpt13 $mf = new MessageFormatter('en_US',
H A Dbug62915-2.phpt18 class C extends MessageFormatter {
/PHP-7.4/ext/intl/msgformat/
H A Dmsgformat.h25 PHP_METHOD( MessageFormatter, __construct );
H A Dmsgformat_class.h46 #define MSG_FORMAT_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(MessageFormatter, mfo)

Completed in 20 milliseconds

12