Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

My 2 Cents What Are The Different Types Of Error In Php?

Discussion in 'PHP Programming' started by VIVEK KUMAR, Mar 14, 2016.

  1. VIVEK KUMAR

    Yellow Belt

    Joined:
    Mar 8, 2016
    Messages:
    300
    Ratings:
    +2 / -0
    There are three types of error in PHP which is listed below -
    1.Notice - It is the simple error and it is also no displayed to the user screen. Example - If you try to get a value from variable but variable have no value then notice error encounter.
    2.Warning - It is little bit critical error message. It does not affect the program execution.
    3.Fatal error -It is the critical error . It affects the program execution.
     
  2. Swati Mishra

    Yellow Belt

    Joined:
    Dec 28, 2015
    Messages:
    644
    Ratings:
    +105 / -0
    These are also error which are occur in the PHP program
    E_ERROR
    E_WARNING
    E_PARSE
    E_CORE
    E_COMPILE_ERROR
    E_USER_ERROR
     
  3. Brillmindz

    Brillmindz New Member

    Joined:
    Mar 20, 2017
    Messages:
    3
    Ratings:
    +0 / -0
    There type of errors in PHP
    E_USER_WARNING: User-generated warning message
    E_USER_NOTICE: User-generated notice message
    E_STRICT: Run-time notices
    E_RECOVERABLE_ERROR: Catchable fatal error indicating a dangerous error
    E_ALL: Catches all errors and warning
     

Share This Page