Logo

Free Hosting Online for WorkStations

Free download PHP Parser Linux app to run online in Ubuntu online, Fedora online or Debian online

This is the Linux app named PHP Parser whose latest release can be downloaded as PHP-Parser4.13.0.zip. It can be run online in the free hosting provider OnWorks for workstations.

Download and run online this app named PHP Parser with OnWorks for free.

Follow these instructions in order to run this app:

- 1. Downloaded this application in your PC.

- 2. Enter in our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.

- 3. Upload this application in such filemanager.

- 4. Start the OnWorks Linux online or Windows online emulator or MACOS online emulator from this website.

- 5. From the OnWorks Linux OS you have just started, goto our file manager https://www.onworks.net/myfiles.php?username=XXXXX with the username that you want.

- 6. Download the application, install it and run it.

SCREENSHOTS:

PHP Parser


DESCRIPTION:

This is a PHP 5.2 to PHP 8.0 parser written in PHP. Its purpose is to simplify static code analysis and manipulation. A parser is useful for static analysis, manipulation of code and basically any other application dealing with code programmatically. A parser constructs an Abstract Syntax Tree (AST) of the code and thus allows dealing with it in an abstract and robust way. As the parser is based on the tokens returned by token_get_all (which is only able to lex the PHP version it runs on), additionally a wrapper for emulating tokens from newer versions is provided. This allows to parse PHP 7.4 source code running on PHP 7.0, for example. This emulation is somewhat hacky and not perfect, but it should work well on any sane code. Support for pretty printing, which is the act of converting an AST into PHP code. Please note that "pretty printing" does not imply that the output is especially pretty.



Features

  • Parsing PHP 5, PHP 7, and PHP 8 code into an abstract syntax tree (AST)
  • Dumping the AST in human-readable form
  • Converting an AST back to PHP code
  • Infrastructure to traverse and modify ASTs
  • Resolution of namespaced names
  • Evaluation of constant expressions
  • Builders to simplify AST construction for code generation
  • Converting an AST into JSON and back


Programming Language

PHP



This is an application that can also be fetched from https://sourceforge.net/projects/php-parser.mirror/. It has been hosted in OnWorks in order to be run online in an easiest way from one of our free Operative Systems.

Latest Linux & Windows online programs: