There are three main types of errors in PHP. They are as follows:
- Notice: A notice is a non-critical error that is not displayed to the user.
- Warning: A warning is an error that is displayed to the user while the script is running.
- Fatal error: This is the most critical type of error. A fatal error will cause immediate termination of the script.
Leave a Reply