Good day. I wanted to try to count the number of lines of code in my project. Well, just for fun. The project consists of php pages and functions. Thought to do just through
function countFileLines($file) { return count(file($file)); }
but it seems like after that there will be a lot of space in the RAM to be engaged. I want to ask for advice. How can this be implemented? Thank you in advance.