There are basically 4 different type of errors in Php.
Parse Error It stops the execution of php script . Commonly caused due to syntax mistakes in codes
E.g. Unclosed single double quotes, missing parentheses or adding extra parentheses ,missing semicolon, mismatch brackets.
Fatal Error It stops execution of php script. These are basically run time errors which are caused when we try to access a function that does not exist.
E.g. accessing a dead object, or trying to use a function that hasn't been declared.
Warning Error These occurs when we try to include a file that is not present, or delete a file that is not on the server. This will not halt the php script. It will give the notice and continue with the next line of the script.
Notice Error These errors occurs when we try to use a variable that hasn't been declared, this will not halt the script. It will give the notice and continue with the next line of the script.
0 Comment(s)