just like $PHP_SELF prints out the filename of its own. is there any function which gives out the Line Number when this particluar command is called.
e.g.
.
.
25 echo "$PHP_LINE_NO";
now this should return 25 as its line number.
🙂 its a bit weird thing to ask, but it would be great to know, as i am implementing Error view for my system, and any error raised from some file can be tracked to the line number.
thanks again,
Daarius ...