1. I've started a massive SPAM purge, any accounts that have spammed are being removed, also for a short period new user signups are disallowed until the SPAM cleaning is finished.

Explain the different types of errors in PHP

Discussion in 'PHP' started by d'souza, Feb 3, 2015.

  1. d'souza

    d'souza New Member

    Joined:
    Jan 31, 2015
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Notices, Warnings and Fatal errors are the types of errors in PHP

    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.

    appdynamics vs new relic
    Loading...
  2. Paul LeJoy

    Paul LeJoy New Member

    Joined:
    Feb 9, 2015
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Gender:
    Male
    Location:
    India
    Nice info. But there is also an another type of error called parse error, which occurs if there is a syntax mistakes in the script like Unclosed quotes, Missing or Extra parentheses, Unclosed braces, Missing semicolon and etc..

Share This Page