PHP-PEAR::PHP_Parser in Version 0.2.0 alpha veröffentlicht

PHP-PEAR::PHP_Parser in Version 0.2.0 alpha veröffentlicht

PHP_Parser is a source code analysis tool based around a real Parser generated by PHP_ParserGenerator. The parser uses the same EBNF source that PHP uses to parse itself, modified for Lemon parser format, and it therefore as robust as PHP itself.

This version has full support for parsing out every re-usable element in PHP as of PHP 6:

- classes

- abstract classes

- inheritance, implements

- interfaces

- methods

- any thrown or caught exception

- static variables declared

- global and superglobal ($_GET) variables used

and declared

- any class names used in any context

- any functions called

- any $this->var or class::$var

- any $this->method or class::method() or class::$method()

- variables

- constants

- functions (same information as methods minus $this->/self::/parent:: information)

- defines

- global variables (with help of PHP_Parser_DocblockParser)

- superglobal variables used in global code

- include statements

The output can be customized to return an array, return objects of user-specified classes, and can also be
customized to publish each element as it is parsed, allowing
hooks into parsing to catch information.

Release date: 2007-03-05 20:56 UTC

Release state: alpha

Changelog:

Third development release.

**All backwards compatibility is broken**

Now that PHP_ParserGenerator exists, this can be used as a way to generate specific parsers. This parser is customized for usage in meta-data extraction, and requires PHP 5.0.0 or newer

Dependencies:

  • PHP Version: PHP 5.1.0 or newer
  • PEAR Package: PEAR Installer 1.4.3 or newer
  • PEAR Package: PHP_Parser_DocblockParser (optional)

Weitere Info und Download auf der PEAR-Homepage








XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Blogroll

Lorem ipsum

These 3 boxes are widgets and can be edited through the admin page, just like the sidebar.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Impressum