PHP 5 core and compile Error
8. Core Error
Core Error are those that generated by the PHP time core i. e. caused by an extension that failed to start up and caused PHP to abort.
E_CORE_ERROR is fatal error detected in PHP’s internals indicating a series of problem with the PHP installation.
E_CORE_WARNING is a compile-time warning generally indicating a problem with the PHP installation.
9. Compile Error
The underlying ZEND scripting engine identifies and generates error levels. Even in the case badly written user-defined functions or any other PHP code, it is ZEND scripting engine, which will identify and generate appropriate errors.
E_COMPILE_ERROR is a fatal compile error generally occurring during compilation, indicating a syntax error in the PHP script that cannot be recovered from causing PHP to abort.
E_COMPILE_WARNING is a compile-time error warning user about deprecated syntax and indicating a non-fatal syntax error in the PHP script.
9. User Defined Error
Often when Programmer require raising user-defined errors in their applications the User Defined error level fulfils this requirement.
E_USER_ERROR is a user generated error message, which causes PHP to abort execution.
E_USER_WARNING is a user generated warning message which will not cause PHP script to exit.
E-USER_NOTICE is a user generated notice message which may be used in script to signal possible error.