logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • Explain the different types of errors in PHP.


  • Correct Answer
  • Notices, Warnings and Fatal errors are the types of errors in PHP Notices: Notices represents non-critical errors, ie 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 ie calling include() a file which does not exist By default, these errors are displayed to the user Fatal errors: Fatal errors are critical errors ie calling a non-existent function or class These errors cause the immediate termination of the script 


  • Technology problems


    Search Results


    • 1. $message vs $$message in PHP?
    • Discuss
    • 2. Echo vs print statement
    • Discuss
    • 3. What is PEAR in php?
    • Discuss
    • 4. What is PHP?
    • Discuss
    • 5. What is PHP's mysqli Extension?
    • Discuss
    • 6. What is MIME?
    • Discuss
    • 7. Why many companies are switching their current business language to PHP? Where PHP basically used?
    • Discuss
    • 8. What is the difference between PHP and JavaScript?
    • Discuss
    • 9. How can we increase the execution time of a php script?
    • Discuss
    • 10. What is the use of super-global arrays in PHP?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment