Better HN
top
new
best
ask
show
jobs
Log in
Sign up
How do I find unused functions in my PHP project? | Better HN
How do I find unused functions in my PHP project?
(andreybutov.com)
2 points · by
andreybutov
· 15y ago · 1 comment
Comments
[–]
kaitnieks
15y ago
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.