What are the Errors in PHP?

Started by charlesth, June 01, 2012, 03:10:40 AM

charlesth

There are mainly four types of Errors in PHP. First is Syntax Error, this error occurs when the mistake in syntax such as Unclosed quotes, Missing or Extra parentheses, Unclosed braces etc... Second is Fatal Errors, this error occurs when an object call a class that time class is not present. This Error stops the execution of the program. Third is Warning Error, this error occurs when you are use the incorrect number of parameters in a function. This error will not stop execution of the program. Fourth is Notice Error, this error occurs when you try to access the undefined variable.