Live data from Hacker News

How do I find unused functions in my PHP project?

andreybutov.com

1–2 of 2 posts

Re: How do I find unused functions in my PHP project?

#2
Naturally, thanks to the nature of dynamic programming, it won't find gems like:

  $a = 'awesome';
  $func = $a . 'Func';
  $func();
so if you're using this on a project that was written by someone else, then don't just blindly delete everything. But this should be expected.