There are 3 types of error in PHP.
Notices:These are non-critical errors. These errors are not displayed to the users.
Warnings:These are more serious errors, but they do not result in script termination. By default, these errors are displayed to the user.
Fatal Errors:These are the most critical errors. These errors may cause due to immediate termination of script.