parsekit_compile_file()
parsekit_compile_file - Compile a string of PHP code and return the resulting op array
Syntax
array parsekit_compile_file (
string $filename,
array &$errors,
int $options)
Arguments
- filename - A string containing the name of the file to compile. Similar to the argument to include().
- errors - A 2D hash of errors (including fatal errors) encountered during compilation. Returned by reference.
- options - One of either PARSEKIT_QUIET or PARSEKIT_SIMPLE. To produce varying degrees of verbosity in the returned output.
Description
Version
PHP PECL parsekit >= 0.2.0
Return value
Returns a complex multi-layer array structure as detailed below.