php count number lines every and each function and class

i have attached my code that reads from text file and returns the total number of lines without comments and blank lines plus reading the number of Function as well as Classes. I got stuck on how to get the name and the total number of lines in each and every Functions and Classes!


Do you think you could do this in easy/simple way to be understand so i can learn from it?

Looking for solution of this Assignment?


We deliver quality original papers

Our experts write quality original papers using academic databases.  

Free revisions

We offer our clients multiple free revisions just to ensure you get what you want.

Discounted prices

All our prices are discounted which makes it affordable to you. Use code FIRST15 to get your discount

100% originality

We deliver papers that are written from scratch to deliver 100% originality. Our papers are free from plagiarism and NO similarity

On-time delivery

We will deliver your paper on time even on short notice or  short deadline, overnight essay or even an urgent essay