Hello. I want to make a small function that sends a debug message: function debuginfo($msg) { echo"<b>the message is $msg, at line" . __LINE__ . " </b><br>"; } in my code: line 1 line 2 line x: debuginfo("hello!!!"); is there is anyway to show the caller's line number? in this case 'x' ? -- 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]
- Re: [PHP] Caller's __LINE__ elias
- Re: [PHP] Caller's __LINE__ CC Zona
- RE: [PHP] Caller's __LINE__ Neil Kimber
- Re: [PHP] Caller's __LINE__ Christian Dechery
- Re: [PHP] Caller's __LINE__ Joao Prado Maia
- [PHP] Caller's __LINE__ elias