Command to list line length of multiple scripts
What command, or rather combination of commands, could be used to count and display the length in lines of all PHP files in a directory, recursively?
Basically I need to look through all directories within my htdocs directory, count the line length of every PHP file in these directories, and spit out the numbers. The ouput from wc is sufficient, but I can't figure out how to run it on every PHP file on my directory tree.
Thanks for any help with this one!