Generating error notices

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
redmonkey
Forum Regular
Posts: 836
Joined: Thu Dec 18, 2003 3:58 pm

Generating error notices

Post by redmonkey »

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.
Post Reply