|
MessageFormatter::parseMessagemsgfmt_parse_messageQuick parse input string BeschreibungObjektorientierter Stil
public
static
array
MessageFormatter::parseMessage
( string
$locale
, string $pattern
, string $source
)Prozeduraler Stil
array
msgfmt_parse_message
( string
$locale
, string $pattern
, string $value
)Parses input string without explicitly creating 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. Parameter-Liste
Rückgabewerte
An array containing items extracted, or BeispieleBeispiel #1 msgfmt_parse_message example
<?phpBeispiel #2 OO example
<?phpDas oben gezeigte Beispiel erzeugt folgende Ausgabe: array ( 0 => 4560, 1 => 123, 2 => 37.073, ) array ( 0 => 4560, 1 => 123, 2 => 37.073, ) Siehe auch
|