My 2 Cents What Are The Different Types Of Error In Php?

VIVEK KUMAR

White Belt
There are three types of error in PHP which is listed below -
1.Notice - It is the simple error and it is also no displayed to the user screen. Example - If you try to get a value from variable but variable have no value then notice error encounter.
2.Warning - It is little bit critical error message. It does not affect the program execution.
3.Fatal error -It is the critical error . It affects the program execution.
 

Swati Mishra

Content Writer
These are also error which are occur in the PHP program
E_ERROR
E_WARNING
E_PARSE
E_CORE
E_COMPILE_ERROR
E_USER_ERROR
 

Brillmindz

New Member
There type of errors in PHP
E_USER_WARNING: User-generated warning message
E_USER_NOTICE: User-generated notice message
E_STRICT: Run-time notices
E_RECOVERABLE_ERROR: Catchable fatal error indicating a dangerous error
E_ALL: Catches all errors and warning
 
Top