[ Index ]

PHP Cross Reference of Akelos Framework

title

Body

[close]

/ -> AkPhpParser.php (summary)

(no description)

File Size: 566 lines (21 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AkPhpParser:: (5 methods):
  AkPhpParser()
  parse()
  addError()
  hasErrors()
  getErrors()


Class: AkPhpParser  - X-Ref

This is a modified version of the pear/PHP_Shell package by Jan Kneschke
and is used for validating PHP in the interactive shell
before terminating execution with fatal errors.

AkPhpParser($code)   X-Ref
No description

parse()   X-Ref
parse the PHP code

we parse before we eval() the code to
- fetch fatal errors before they come up
- know about where we have to wait for closing braces

return: int 0 if a executable statement is in the code-buffer, non-zero otherwise

addError($error)   X-Ref
No description

hasErrors()   X-Ref
No description

getErrors()   X-Ref
No description



Generated: Mon Oct 27 12:43:49 2008 Cross-referenced by PHPXref 0.6