get the app get the app       get the app       get the app
What are the three classes of errors that can occur in PHP?


  • : 277
  • : 1
    Previous Next

    The three basic classes of errors are notices (non-critical), warnings (serious errors) and fatal errors (critical errors).

    you can suggest other answer in comment box


  • Exam: PHP Interview QUESTIONS





    Notices:

    Notices represents non-critical errors, i.e. accessing a variable that has not yet been defined. By default, such errors are not displayed to the user at all but whenever required, you can change this default behavior.

    Warnings:

    Warnings are more serious errors but they do not result in script termination. i.e calling include() a file which does not exist. By default, these errors are displayed to the user.

    Fatal errors:

    Fatal errors are critical errors i.e. calling a non-existent function or class. These errors cause the immediate termination of the script.

  • : 2

    Close(X)
    Subscribe here for free mock test on IAS PCS SSC and other competitive exam. Signup here to get SSC CGL Solution and main exam study material