Jump to content

[SOLVED] error handling


Michdd

Recommended Posts

For a class that I'm writing is it possible to get the line/file of a functions call without having to actually pass __FILE__ and __LINE__ in the parameters? Because if I just use __FILE__ and __LINE__ when I'm writing the error message it'll just display the line of where in the class it has the error, not where the function was called.

Link to comment
https://forums.phpfreaks.com/topic/171663-solved-error-handling/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.