PHP_Count total lines in all files under a given folder
<p>Just wanted to count total number of line from all the files from the folder. following php function helps me to count line num for only particular file. just wondering what is the way to cont total number of lines from the folder.</p>

<pre><code>$lines = COUNT(FILE($file));  
</code></pre>

<p>Thank you.!</p>
