Home
last modified time | relevance | path

Searched refs:mf (Results 1 – 18 of 18) sorted by relevance

/PHP-8.1/ext/intl/tests/
H A Dmsgfmt_setPattern_cache.phpt10 $mf = new MessageFormatter('en_US',
13 var_dump($mf->format(array(1.3, 1.3)));
14 var_dump($mf->format(array(1.3, 1.3)));
15 $mf->setPattern("{0,ordinal} -- {1,number}");
16 var_dump($mf->format(array(1.3, 1.3)));
H A Dmsgfmt_format_mixed_params.phpt10 $mf = new MessageFormatter('en_US',
13 var_dump($mf->format(array(2.3, "foo" => 1.3)));
14 var_dump($mf->format(array("foo" => 1.3, 0 => 2.3)));
H A Dmsgfmt_format_error4.phpt13 $mf = new MessageFormatter('en_US', $fmt);
14 var_dump($mf->format(array("foo" => 7, "\x80" => "bar")));
16 var_dump($mf->format(array("foo" => "\x80")));
H A Dmsgfmt_millisecond_dates.phpt11 $mf = new MessageFormatter('en_US',
14 var_dump($mf->format(array(1336310569.123)));
17 var_dump($mf->parse($p));
H A Dmsgfmt_format_datetime_icu72-1.phpt21 $mf = new MessageFormatter('en_US', $fmt);
23 var_dump($mf->format(array($dt)));
24 var_dump($mf->format(array($dti)));
H A Dmsgfmt_format_datetime.phpt21 $mf = new MessageFormatter('en_US', $fmt);
23 var_dump($mf->format(array($dt)));
24 var_dump($mf->format(array($dti)));
H A Dmsgfmt_format_error1.phpt13 $mf = new MessageFormatter('en_US', $fmt);
14 var_dump($mf->format(array(7)));
H A Dmsgfmt_format_error2.phpt13 $mf = new MessageFormatter('en_US', $fmt);
14 var_dump($mf->format(array(7)));
H A Dmsgfmt_format_error3.phpt13 $mf = new MessageFormatter('en_US', $fmt);
14 var_dump($mf->format(array("foo" => 7, -1 => "bar")));
H A Dmsgfmt_format_error6.phpt13 $mf = new MessageFormatter('en_US', $fmt);
14 var_dump($mf->format(array("foo" => 'bar', 7 => fopen('php://memory', 'r+'))));
H A Dmsgfmt_format_error5.phpt15 $mf = new MessageFormatter('en_US', $fmt);
16 var_dump($mf->format(array("foo" => new stdclass())));
H A Dmsgfmt_format_simple_types_numeric_strings.phpt14 $mf = new MessageFormatter('en_US',"
28 var_dump($mf->format(array(
H A Dmsgfmt_format_simple_types_numeric_strings_icu72-1.phpt14 $mf = new MessageFormatter('en_US',"
28 var_dump($mf->format(array(
/PHP-8.1/ext/imap/tests/
H A Dimap_bodystruct_basic.phpt34 foreach($mandatoryFields as $mf) {
35 if (isValid($m->$mf)) {
36 echo "$mf is 0 or 1\n";
38 echo "$mf FAIL\n";
/PHP-8.1/ext/imap/tests/setup/
H A Dimap_include.inc44 foreach ($fields as $mf) {
45 $z = $resp->$mf;
46 if ($mf == 'udate') {
48 echo "$mf is OK\n";
50 echo "$mf is BAD ($z)\n";
53 echo "$mf is $z\n";
/PHP-8.1/ext/intl/msgformat/
H A Dmsgformat_parse.c86 MessageFormatter_object mf; in PHP_FUNCTION() local
87 MessageFormatter_object *mfo = &mf; in PHP_FUNCTION()
H A Dmsgformat_format.c81 MessageFormatter_object mf; in PHP_FUNCTION() local
82 MessageFormatter_object *mfo = &mf; in PHP_FUNCTION()
H A Dmsgformat_helpers.cpp287 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_get_types() local
289 const MessagePattern mp = MessageFormatAdapter::phpGetMessagePattern(mf); in umsg_get_types()
297 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_set_timezone() local
318 icu::StringEnumeration* fnames = mf->getFormatNames(err.code); in umsg_set_timezone()
329 formats = mf->getFormats(count); in umsg_set_timezone()
372 MessageFormat *mf = (MessageFormat *)mfo->mf_data.umsgf; in umsg_format_helper() local
600 mf->format(farg_names.empty() ? NULL : &farg_names[0], in umsg_format_helper()

Completed in 20 milliseconds