Analysing PHP Code
Static code analysis is the analysis of software (without actually executing it) to understand it better. The programatic analysis of PHP code sits at the core of static analysis tools such as phpcpd, pdepend, phploc, or phpmd. This presentation shows how PHP extensions such as Bytekit and Tokenizer can be used to build tools that operate on PHP code in both sourcecode and bytecode form.