NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP Scanning for unused functions or vars

Flavio daCosta nyphp at n0p.net
Fri Apr 21 14:13:51 EDT 2006


On 04/21/2006 01:50 PM, Joseph Crawford wrote:
> Hey everyone,
> 
> Is there a tool that can be used to scan php files in a dir to tell me
> if there are any function / classes / variables / constants / etc. that
> are in the code but never used?

I am on my way out, so no time to validate my claims/memory for
correctness, but take a look at xdebug and PHPUnit2 (or one of the
testing suites)



More information about the talk mailing list