Hi All,
i'm currently writing a debugging lib in PHP and i would like to find
the number of the line in my script
when i made an
myfile.php
1 <?php
2 echo "i'm on line $NUMBER_LINE\n";
3 echo "i'm on line $NUMBER_LINE\n";
4 ?>
would give :
i'm on line 2
i'm on line 3
it perhaps exists because when we have warning we see the line number
Thanks
Manu
--
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]