MessageFormatter::parse msgfmt_parse Parse input string according to pattern &reftitle.description; Object oriented style array MessageFormatter::parse stringvalue Procedural style array msgfmt_parse MessageFormatterfmt stringvalue Parses input string and return any extracted items as an array. &reftitle.parameters; fmt The message formatter value The string to parse &reftitle.returnvalues; An array containing the items extracted, or &false; on error &reftitle.examples; <function>msgfmt_parse</function> example ]]> OO example parse("4,560 monkeys on 123 trees make 37.073 monkeys per tree"); var_export($res); $fmt = new MessageFormatter('de', "{0,number,integer} Affen auf {1,number,integer} Bäumen sind {2,number} Affen pro Baum"); $res = $fmt->parse("4.560 Affen auf 123 Bäumen sind 37,073 Affen pro Baum"); var_export($res); ?> ]]> &example.outputs; 4560, 1 => 123, 2 => 37.073, ) array ( 0 => 4560, 1 => 123, 2 => 37.073, ) ]]> &reftitle.seealso; msgfmt_create msgfmt_format msgfmt_parse_message