|
MessageFormatter::formatmsgfmt_formatFormat the message BeschreibungObjektorientierter Stil
public
string
MessageFormatter::format
( array
$args
)Prozeduraler Stil
string
msgfmt_format
( MessageFormatter
$fmt
, array $args
)Format the message by substituting the data into the format string according to the locale rules Parameter-Liste
Rückgabewerte
The formatted string, or BeispieleBeispiel #1 msgfmt_format example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: 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 Siehe auch
|