Hello,

can i make a function that displays the __LINE__ of it's caller?

ie:

function show_caller_s_line()
{
   echo "my caller's line is:" . __LINE__;
}

1: blahblahblah
2: show_caller_s_line()
3: blahblah

output should be:
  my caller's line is: 3


is that possible?

thanks.
-elias



-- 
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