Monday, November 12, 2018

PHP Error Types - And their Differences


Notices :

It will be shown in below condition like if we will try to access a variable which is not defined yet.
it will not stop script execution.

Warning :

It will be shown while using include(), it will not able to find file for include.
It will not stop script execution.

Fatal Error :

It will be shown while using require(), it will not able to find file at specified location.
it will stop script execution.

Parse Error :

It's’s syntax error or missing code error.
it will stop script execution.

0 comments:

Post a Comment