Hi;
I know that I can echo the filename of a .php script by using the line:
echo $_SERVER['PHP_SELF'];
Is there a similar command that will also show the specific LINE number being processed (ie. like one sees when there is an error message)?
For example if I am composing/debugging a very long page that runs all kinds of different functions or commands, could I put something like:
//START some specific section that might get moved around if I add a bunch of code above it
echo $SERVER['PHP_SELF'] ; echo "$SERVER[..some variable that shows the script line number processed at this point..]";
//END some specific section that might get moved around if I add a bunch of code above it
I've looked at the $_SERVER[] variables on php.net but don't seen anything that corresponds exactly to what I'm looking for
Thanks.