/php-src/ext/intl/tests/ |
H A D | msgfmt_format_error4.phpt | 2 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 D | msgfmt_fail2.phpt | 23 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 D | msgfmt_format_error5.phpt | 2 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 D | msgfmt_clone_bad_obj.phpt | 2 Cloning uninitialized MessageFormatter 8 class A extends MessageFormatter { 21 Error: Cannot clone uninitialized MessageFormatter
|
H A D | msgfmt_format_error2.phpt | 2 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 D | msgfmt_format_error3.phpt | 2 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 D | msgfmt_format_error6.phpt | 2 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 D | gh11658.phpt | 2 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 D | msgfmt_format_error1.phpt | 2 MessageFormatter::format() insufficient numeric arguments 13 $mf = new MessageFormatter('en_US', $fmt);
|
H A D | msgfmt_format_mixed_params.phpt | 2 MessageFormatter::format(): mixed named and numeric parameters 10 $mf = new MessageFormatter('en_US',
|
H A D | bug58756_MessageFormatter_variant2.phpt | 2 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 D | bug74484_MessageFormatter.phpt | 2 Bug #74484 MessageFormatter::formatMessage memory corruption with 11+ named placeholder 24 var_dump(MessageFormatter::formatMessage('en_US', $text, $vars));
|
H A D | msgfmt_setPattern_cache.phpt | 2 MessageFormatter::setPattern() invalidates arg types cache 10 $mf = new MessageFormatter('en_US',
|
H A D | gh12020.phpt | 2 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 D | msgfmt_format_datetime_icu72-1.phpt | 2 MessageFormatter::format(): DateTime accepted to format dates and times 21 $mf = new MessageFormatter('en_US', $fmt);
|
H A D | msgfmt_format_datetime.phpt | 2 MessageFormatter::format(): DateTime accepted to format dates and times 21 $mf = new MessageFormatter('en_US', $fmt);
|
H A D | gh8115.phpt | 25 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 D | msgfmt_format_intlcalendar_variant4.phpt | 19 $msgf = new MessageFormatter('pt_PT', '{0,date,full} {0,time,h:m:s a V}'); 23 /*$msgf = new MessageFormatter('en_US',
|
H A D | msgfmt_format_simple_types_numeric_strings.phpt | 2 MessageFormatter::format(): simple types handling with numeric strings 14 $mf = new MessageFormatter('en_US',"
|
H A D | msgfmt_format_simple_types_numeric_strings_icu72-1.phpt | 2 MessageFormatter::format(): simple types handling with numeric strings 14 $mf = new MessageFormatter('en_US',"
|
H A D | bug80763.phpt | 8 $formatter = new \MessageFormatter('en_US', 'Today is {today, date, full}.');
|
H A D | gh8364.phpt | 7 $formatter = new MessageFormatter('en', 'translate {0}');
|
/php-src/ext/intl/msgformat/ |
H A D | msgformat.stub.php | 6 class MessageFormatter class 14 public static function create(string $locale, string $pattern): ?MessageFormatter {}
|
H A D | msgformat_arginfo.h | 9 …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 D | msgformat_class.h | 44 #define MSG_FORMAT_METHOD_INIT_VARS INTL_METHOD_INIT_VARS(MessageFormatter, mfo)
|