| Define 13 most common and important types of errors available in PHP?
Below are the 13 most common types of errors available in PHP:-
(1)E_ERROR:-This is a fatal error which will causes script termination.
(2)E_WARNING:-This is run-time warning that which will not cause script termination.
(3)E_PARSE:-This is type of Compile time parse error.
(4)E_NOTICE:-This is a run time notice caused due to error in code.
(5)E_CODE_ERROR:-THis is Fatal errors which will usually occur during PHP initial startup(At time of installation).
(6)E_CORE_WARNING:-THis is a warning which will usually occur during PHP initial startup.
(7)E_COMPILE_ERROR:-This is Fatal compile-time errors indication problem with script.
(8)E_USER_ERROR:-This is one of the user generated error message.
(9)E_USER_WARNING:-This is user generated warning message.
(10)E_USER_NOTICE:-THis is a user generated notice message.
(11)E_STRICT:-THis is one of the Run-time notices.
(12)E_RECOVERABLE_ERROR:-This is a catchable fatal error indicating a dangerous error.
(13)E_ALL:-This will catches all errors and warnings. | | |