|
MessageFormatter::parsemsgfmt_parseParse input string according to pattern DescriptionObject-oriented style
public arrayfalse MessageFormatter::parse(string
$string )Procedural style arrayfalse msgfmt_parse(MessageFormatter
$formatter , string $string )Parses input string and return any extracted items as an array. Parameters
Return Values
An array containing the items extracted, or ExamplesExample #1 msgfmt_parse example
Example #2 OO example
The above example will output: array ( 0 => 4560, 1 => 123, 2 => 37.073, ) array ( 0 => 4560, 1 => 123, 2 => 37.073, ) See Also
|