PHP Parser 0.9.4

PHP Parser is a PHP source code parsers, written in PHP itself and was written for the purpose of code analysis.
It simply reads the code and shows it as an array of the syntax tree. By manipulating the array we can also manipulate the code. For beginners, documentation is provided with the project.

Requirements:
- PHP 5.4 or Higher

What's New in This Version:
- Added support for arbitrary expressions in empty().
- Added support for constant array / string dereferencing.
- Added support for yield expressions. This adds a new Yield expression type, with subnodes key and value.
- Added support for finally. This adds a new finallyStmts subnode to the TryCatch node. If there is no finally clause it will be null.

Limitations:
- Still in development. Might change drastically from one version to the other.

License type: BSD
Date added: 2 years, 3 months 10 days ago | Last updated: 1 year, 1 month 26 days ago

More popular XML

This is actually one of the most advanced image hosting script. The imagetize key features: SEO, Ads Ready, Admin

Listing Files

nikic-PHP-Parser-90b5acd
  • phpunit.xml.dist
  • 692 Bytes
  • 07/07/2012 13:23:24
test
code
parser
expr
  • ternary.test
  • 1.3 KB
  • 07/07/2012 13:23:24
  • print.test
  • 126 Bytes
  • 07/07/2012 13:23:24
  • issetAndEmpty.test
  • 555 Bytes
  • 07/07/2012 13:23:24
  • arrayDef.test
  • 3.0 KB
  • 07/07/2012 13:23:24
  • exit.test
  • 432 Bytes
  • 07/07/2012 13:23:24
  • variable.test
  • 877 Bytes
  • 07/07/2012 13:23:24
  • comparison.test
  • 1.6 KB
  • 07/07/2012 13:23:24
  • clone.test
  • 127 Bytes
  • 07/07/2012 13:23:24
fetchAndCall
  • args.test
  • 1.2 KB
  • 07/07/2012 13:23:24
  • objectAccess.test
  • 2.1 KB
  • 07/07/2012 13:23:24
  • newDeref.test
  • 1.3 KB
  • 07/07/2012 13:23:24
  • funcCall.test
  • 2.1 KB
  • 07/07/2012 13:23:24
  • simpleArrayAccess.test
  • 1.1 KB
  • 07/07/2012 13:23:24
Hot Scripts
Sponsors