Explain the different types of errors in PHP.
Warnings, Notices and Fatal errors are the types of errors in PHP
Notices:
Notices signifies non-critical errors, i.e. accessing a variable which has not yet been defined. By default, such errors aren't displayed to the user at all however whenever required, you can change this default behavior.
Warnings:
Warnings are more serious errors though they don't result in script termination. That means calling include() a file that does not exist. By default, these errors are displayed to the user.
Fatal errors:
Fatal errors are critical errors it means calling a non-existent class or function. These errors cause immediate termination of the script.