Difference between parse error and fatal error in php?

  • 0

Difference between parse error(syntax error) and fatal errors:

Parse error or syntax error occurs if any syntax mistakes in code, example missing braces, semi column, quotes etc..

Fatal error occurs when we try to call any function that is not exist.

Both errors stop the execution of program and shows the errors.

Warning and notices only shows the error, but continues the execution of the program.

 

Difference between parse error(syntax error) and fatal errors: Parse error or syntax error occurs if any syntax mistakes in code, example missing braces, semi column, quotes etc.. Fatal error occurs when we try to call any function that is not exist. Both errors stop the execution of program and shows the errors. Warning and notices…

Difference between parse error(syntax error) and fatal errors: Parse error or syntax error occurs if any syntax mistakes in code, example missing braces, semi column, quotes etc.. Fatal error occurs when we try to call any function that is not exist. Both errors stop the execution of program and shows the errors. Warning and notices…