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
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
2 matches
Mail list logo