Re: [PHP] error handling and __LINE__

2001-11-27 Thread SafeV
Thanks, assert() is cool, but it still reports the filename and line number of the included file with the function in which the error occurred, not the script that called the functon with illegal arguments. Or...??? Eg.: index.php: This will produce a message saying an error occurred in funct

Re: [PHP] error handling and __LINE__

2001-11-22 Thread Papp Gyozo
try, assert() instead of echo()ing error messages. assert('is_object($obj)'); and write your error handler code or use mine :) or am i missing something? Papp Gyozo - [EMAIL PROTECTED] - Original Message - From: "SafeV" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Th