php-parse

convert PHP code into abstract syntax tree

Install

All systems
curl cmd.cat/php-parse.sh
Debian Debian
apt-get install php-parser
Ubuntu
apt-get install php-parser
image/svg+xml Kali Linux
apt-get install php-parser
Windows (WSL2)
sudo apt-get update sudo apt-get install php-parser
Raspbian
apt-get install php-parser

php-parser

convert PHP code into abstract syntax tree

PHP Parser’s purpose is to simplify static code analysis and manipulation. It turns some PHP code into an abstract syntax tree, and vice versa.