php-pear-PHP_Parser - A PHP grammar parser

Distribution: ROSA 2014.1
Repository: ROSA Contrib x86_64
Package name: php-pear-PHP_Parser
Package version: 0.2.2
Package release: 2-rosa2014.1
Package architecture: noarch
Package type: rpm
Installed size: 2.27 MB
Download size: 78.59 KB
Official Mirror:
PHP_Parser is a source code analysis tool based around a real Parser generated by phpJay. The parser uses the same EBNF source that PHP uses to parse itself, and it therefore as robust as PHP itself. This version has full support for parsing out every re-usable element in PHP 5 as of beta 1: - classes - abstract classes - inheritance, implements - interfaces - methods - exception parsing directly from source - static variables declared - global and superglobal ($_GET) variables used and declared - variables - constants - functions (same information as methods) - defines - global variables (with help of the Tokenizer Lexer) - 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.




  • php-pear-PHP_Parser == 0.2.2-2:2014.1

    Install Howto

    1. Enable ROSA Contrib repository on Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install php-pear-PHP_Parser rpm package:
      # urpmi php-pear-PHP_Parser


    • /usr/share/doc/php-pear-PHP_Parser/
    • /usr/share/doc/php-pear-PHP_Parser/examples/test.php
    • /usr/share/doc/php-pear-PHP_Parser/examples/test1.php
    • /usr/share/doc/php-pear-PHP_Parser/examples/test2.php
    • /usr/share/doc/php-pear-PHP_Parser/tutorials/
    • /usr/share/doc/php-pear-PHP_Parser/tutorials/PHP_Parser/PHP_Parser_MsgServer.cls
    • /usr/share/pear/PHP/Parser.php
    • /usr/share/pear/PHP/generatePackage.xml.php
    • /usr/share/pear/PHP/skeleton.php
    • /usr/share/pear/PHP/Parser/Core.php
    • /usr/share/pear/PHP/Parser/MsgServer.php
    • /usr/share/pear/PHP/Parser/Tokenizer.php
    • /usr/share/pear/PHP/Parser/DocBlock/Parser.php
    • /usr/share/pear/PHP/Parser/Tokenizer/Structure.php
    • /usr/share/pear/data/PHP_Parser/
    • /usr/share/pear/data/PHP_Parser/Parser/Core.out
    • /usr/share/pear/data/PHP_Parser/Parser/Core.y
    • /usr/share/pear/packages/PHP_Parser.xml


    2014-07-25 - Denis Silakov <> 0.2.2-2 + Revision: 415a4d9 - MassBuild#464: Increase release tag