There are four types of errors in PHP
1. Syntax Errors Syntax errors are caused by typo in your code. A missing semicolon, parenthesis or quotation mark may result in syntax error.
2. Fatal Errors Most common fatal error occurs while coding are of undefined function or class. The error itself tells you which function or class is not defined.
3. Warnings Warnings often appears when you include a non existing file or pass incorrect number of parameters to functions etc.
4. Notices A common notice you will see while coding is of “Undefined index”. These notices are helpful while debugging the code.
To know more about it, visit our website.












