|
MessageFormatter::formatmsgfmt_formatFormat the message DescriptionObject-oriented style
public stringfalse MessageFormatter::format(array
$values )Procedural style stringfalse msgfmt_format(MessageFormatter
$formatter , array $values )Format the message by substituting the data into the format string according to the locale rules Parameters
Return Values
The formatted string, or ExamplesExample #1 msgfmt_format example
Example #2 OO example
The above example will output: 4,560 monkeys on 123 trees make 37.073 monkeys per tree 4.560 Affen auf 123 Bäumen sind 37,073 Affen pro Baum See Also
|