>Pass __LINE__ to the function as one of its arguments:
>
> function debuginfo($msg, __LINE__)
> {
> echo"<b>the message is $msg, at line" . __LINE__ . " </b><br>";
> }
that won't work since __LINE__ returns the exact line where it's used... so
it will always show the line of the function header...
____________________________
. Christian Dechery (lemming)
. http://www.tanamesa.com.br
. Gaita-L Owner / Web Developer
--
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]