Emmanuel FAIVRE wrote:
> i'm currently writing a debugging lib in PHP and i would like to find
> the number of the line in my script
> 1 <?php
> 2 echo "i'm on line $NUMBER_LINE\n";
> 3 echo "i'm on line $NUMBER_LINE\n";
> 4 ?>

It's __LINE__, I think.


"Isn't it strange? The same people who laugh at gypsy fortune tellers take 
economists seriously."
 - Cincinnati Enquirer   

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to