First of all errors and exceptions when two different concepts
Common mistakes:
Syntax errors about missing semicolon, etc.
Environmental wrong file failed to open a database error
Analyzing logic error would be
There are a lot of error level of error sectors listed here only common among the php
Deprecated lowest level of error
Notice the error notification level
Warning Warning Level number error Parameter type error could lead to
Fatal error Fatal error level
parse error parsing errors
E_USER_ related errors
// note that here has a function deprecated ereg IF (ereg ( ' Love ' , ' the I AM your Father Love Me! ' , $ Mechase)) { VP ($ mechase); } the else { P ( ' can not be found related to matches ' ); }
setType (Key $, ' int ' ); // set does not exist becomes the integer p ($ key); // print is 0 setType ($ King, ' King ' ); // set to a variable type that does not exist result in a warning not to change the original type p ($ key);
the p-($ King); the p-( " program execution continues down " );
Error notification level
Array ARR = $ ( ' Age ' => 21 is ); ; P ($ ARR [Age]) // value of the engine where it first and then as a constant which can not find the String to parse and taken out inside
Fatal error-level program can not continue down
P (MD6 ( ' Hello ' )); P ( ' continue ' );