|
MessageFormatter::parsemsgfmt_parseParse input string according to pattern DescriptionObject oriented style
public
array
MessageFormatter::parse
( string
$value
)Procedural style
array
msgfmt_parse
( MessageFormatter
$fmt
, string $value
)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
<?php Example #2 OO example
<?php The above example will output: array ( 0 => 4560, 1 => 123, 2 => 37.073, ) array ( 0 => 4560, 1 => 123, 2 => 37.073, ) See Also
|