A library for semantic analysis of PHP code
Semantic analysis of PHP code.
php-sema implements an AST-based CFG that is suitable for source-level analysis.
Currently, php-sema implements: SSA conversion, generic data flow analysis algorithms, reachable definitions, dead code analysis, undefined variable analysis.
This is a work in progress. There is not enough tests, no support for variable-variables or references, and the API needs improvements.