Generating error notices
Posted: Mon Apr 19, 2004 6:07 pm
A bit of an odd question but...
Apart from undefined variables and undefined array indexes, does anyone know of other circumstances in which an error notice will be produced.
Note, I'm only looking for notice errors not parse, warnings, fatal etc..
The reason is I have put together a new error handler class with the idea being that I want to log all errors including notices but I want the notices to be transparent to the user. I need to be able to reproduce the various circumstances in which a notice level error is produced in order to test the error handler.
Apart from undefined variables and undefined array indexes, does anyone know of other circumstances in which an error notice will be produced.
Note, I'm only looking for notice errors not parse, warnings, fatal etc..
The reason is I have put together a new error handler class with the idea being that I want to log all errors including notices but I want the notices to be transparent to the user. I need to be able to reproduce the various circumstances in which a notice level error is produced in order to test the error handler.