--%>

Types of errors in PHP

Explain the different types of errors in PHP?

E

Expert

Verified

The types of errors in PHP are Notices, Warnings and Fatal errors.

1. Notices: Notices represents non-critical errors that is accessing a variable that has not yet been defined. Such kinds of errors are not displayed to the user at all by default, but whenever required you can change this default behavior.

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

3. Fatal errors: Calling a non-existent function or class Fatal errors are used. These errors cause the immediate termination of the script.

   Related Questions in PHP Web Programming

  • Q : Differentiate echo and print statement

    Differentiate between echo and print statement?

  • Q : PEAR in PHP What is PEAR in PHP ?

    What is PEAR in PHP?

  • Q : $message vs. $$message in PHP

    Differentiate between $message vs. $$message in PHP?

  • Q : Meaning of MIME What do you mean by

    What do you mean by MIME?

  • Q : Submit form without using a submit

    Explain how to submit form without using a submit button?

  • Q : Types of errors in PHP 15.00 Explain

    15.00

    Discover Q & A

    Leading Solution Library
    Avail More Than 1421300 Solved problems, classrooms assignments, textbook's solutions, for quick Downloads
    No hassle, Instant Access
    Start Discovering

    18,76,764

    1946166
    Asked

    3,689

    Active Tutors

    1421300

    Questions
    Answered

    Start Excelling in your courses, Ask an Expert and get answers for your homework and assignments!!

    Submit Assignment

    ©TutorsGlobe All rights reserved 2022-2023.