linux统计当前目录下PHP代码的总行数

linux统计当前目录下PHP代码的总行数代码:

[code lang=”php”]
find ./ -type f -name "*.php" -print0 | xargs -0 wc -l
[/code]