Explain different types of errors in PHP (i.e. arguments in
errorreporting function)?
Answer Posted / malkesh sondagar
Its three types
1. Fatal error : this will stop the script.
2. Warning : A warning is a message saying "You are doing
something wrong and it is very likely to cause errors in the
future, so please fix it."
3. Notice : A notice is an advisory message meaning "You
probably shouldn't be doing what you're doing, but I'll let
you do it anyway"
Both notices and warnings will not halt execution of your
script, although I would encourage you to take them
seriously and strive to have not even one notice in your apps.
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What is zend studio for?
Why do we use interface in php?
Is php faster than python?
Explain me what are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?
How to fix "headers already sent" error in php
What is difference between web service and api?
How can we make a constant in php?
What is different types of visibility?
What is difference between strstr() and stristr() in PHP?
what is the current salary package in India for a PHP programmer who has 1.5 years experience
Explain Type juggling?
What was the old name of php?
How to convert one date format into another in php?
How to pad an array with the same value multiple times?
Does php support inheritance?