PHP » GoLang |
login |
register |
about
|
GoLang MessageFormatter::parse
request it (429)
GoLang replacement for PHP's MessageFormatter::parse
[edit | history]
MessageFormatter::parsemsgfmt_parse(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.0) MessageFormatter::parse -- msgfmt_parse — Parse input string according to pattern DescriptionObject oriented style
public
array
MessageFormatter::parse
( string
$value
)Procedural style Parses input string and return any extracted items as an array. 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
|
more
Recently updated
more
Most requested
more
Last requests
|