I have a php file like this.
Line | Length of Line
1 2 3 4 5 6 7 8 9
1 | < ? php
2 |
3 | $g r a d e = 5;
4 |
5 | ? >
How to count Total lines and Length of each line from this file in php?