1 NAME
2 parse_string - parse a string
3
4 SYNOPSIS
5 mixed *parse_string(string grammar, string str,
6 varargs int alternatives)
7
8
9 DESCRIPTION
10 Parse a string as described by the grammar. If parsing is successful,
11 the parse tree is returned as an array. The optional third argument
12 specifies the number of alternative parse trees to integrate in the
13 result, if the grammar is ambiguous.
14 parse_string() uses internal object storage to cache generated
15 automatons between calls, which is not removed until the object is
16 destructed.
17 This function cannot be used from a special object.
18
19 SEE ALSO
20 kfun/explode, kfun/implode, kfun/sscanf
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.