logo

CuriousTab

CuriousTab

Discussion


Home Interview Technology Comments

  • Question
  • What are the different types of errors in php?


  • Correct Answer
  • Notices: These are trivial, non-critical errors that PHP encounters while executing a script - for example, accessing a variable that has not yet been defined By default, such errors are not displayed to the user at all - although, as you will see, you can change this default behaviour Warnings: These are more serious errors - for example, attempting to include() a file which does not exist By default, these errors are displayed to the user, but they do not result in script termination Fatal errors: These are critical errors - for example, instantiating an object of a non-existent class, or calling a non-existent function These errors cause the immediate termination of the script, and PHP?s default behaviour is to display them to the user when they take place 


  • Technology problems


    Search Results


    • 1. How can we extract string "abc.com" from a string "https://info@abc.com" using regular _expression of php?
    • Discuss
    • 2. Explain include(), include_once, require() and require_once.
    • Discuss
    • 3. How do you destroy a particular or all Sessions?
    • Discuss
    • 4. What is a Session?
    • Discuss
    • 5. What are the differences between GET and POST methods in form submitting?
    • Discuss
    • 6. What is the functionality of the function strstr and stristr?
    • Discuss
    • 7. What are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
    • Discuss
    • 8. What are encryption functions in PHP?
    • Discuss
    • 9. How to set cookies?
    • Discuss
    • 10. How can we know the number of days between two given dates using php?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment