PHP_Parser
public class PHP_Parser
Field Summary | |
---|---|
final int | |
final int | |
final int | |
private mixed | |
private mixed |
Method Summary | |
---|---|
static PHP_Parser | factory(mixed parser, mixed tokenizer) Choose the parser and tokenizer |
static boolean | isIncludeable(string path) |
static array| | parse(mixed string, mixed options, string name) Parse a stringparses a php file, |
void | parseString(mixed php, mixed tokenoptions) |
void | raiseError(mixed msg, mixed code, mixed params) |
bool | setParser(mixed parser, string|object ) |
PEAR_Error|false | setTokenizer(mixed tokenizer, string|object ) |
PEAR_Error|false | setTokenizerOptions(mixed php, array options, string input) |
static array| | staticParseFile(mixed file, mixed options, string name, false|string false) Parse a file with wddx caching options. |
public final int ERROR_NODRIVER = 1
public final int ERROR_NOINPUT = 3
public final int ERROR_NOTINITIALIZED = 2
private mixed $_parser
private mixed $_tokenizer
public static PHP_Parser factory(mixed parser, mixed tokenizer)
Choose the parser and tokenizer
public static boolean isIncludeable(string path)
public static array| parse(mixed string, mixed options, string name)
Parse a string
parses a php file,
public void parseString(mixed php, mixed tokenoptions)
public void raiseError(mixed msg, mixed code, mixed params)
public bool setParser(mixed parser, string|object )
public PEAR_Error|false setTokenizer(mixed tokenizer, string|object )
public PEAR_Error|false setTokenizerOptions(mixed php, array options, string input)
public static array| staticParseFile(mixed file, mixed options, string name, false|string false)
Parse a file with wddx caching options.
parses a php file,
Enter description here...