What are the major types of errors in php ?

Basically there are three major types of errors in php . 

1 . Notices Error : –
 Notices are the simple , non-critical errors that occurs while executing the script , As the example of Notices are undefined variables or the variables are not declared . 
This type of error doesn’t stop the execution of program just generate error message .
2 . Warnings Error : – 
However the the warning errors are more important than the notices as the  notices it doesn’t stops the execution but generate the the error message .
For Example , include() files missing ..etc .
3 . Fatal Error : –
The Fatal errors are the critical errors and terminate the execution of the programs ,
As for example , 
Errors occurs while accessing the non existing object or require() , non-existing files.  

Leave a Reply

Your email address will not be published.Required fields are marked *