|
MessageFormatter::formatmsgfmt_formatFormat the message DescriptionObject oriented style
public
string
MessageFormatter::format
( array
$args
)Procedural style
string
msgfmt_format
( MessageFormatter
$fmt
, array $args
)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
<?php Example #2 OO example
<?php 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
|