PHP difference between notice and warning

Posted by Stegeman on Stack Overflow See other posts from Stack Overflow or by Stegeman
Published on 2011-01-07T10:17:11Z Indexed on 2011/01/07 10:54 UTC
Read the original article Hit count: 185

Filed under:
|
|

When writing code errors, warnings and notices can occur. I know the idea behind errors. I suppose a warning is there to inform you about something that can cause an error, but isn't a notice exaclty the same? I suppose a notice is not a message of something doing right ;).

It's just a bit confusing to me. Can anybody tell the difference between those two and the way these messages should be treated.

© Stack Overflow or respective owner

Related posts about php

Related posts about php5