MessageFormatter::formatMessagemsgfmt_format_message(No version information available, might be only in CVS) msgfmt_format_message — Quick format message ОписаниеObject oriented style
static
string
MessageFormatter::formatMessage
( string $locale
, string $pattern
, array $args
)
Procedural style
string
msgfmt_format_message
( string $locale
, string $pattern
, array $args
)
Quick formatting function that formats the string without having to explicitly create the formatter object. Use this function when the format operation is done only once and does not need and parameters or state to be kept. Список параметров
Возвращаемые значенияThe formatted pattern string or FALSE if an error occurred ПримерыПример #1 msgfmt_format_message() example
<?phpПример #2 OO example
<?phpРезультат выполнения данного примера:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |