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 are php data types?
Is it possible to remove the html tags from data?
What is 'float' property in css?
How to declare an array in php?
What is difference between session and cookies in php?
How to enable cURL in PHP?
What is alias in php?
What is an abstract class in php?
What is artisan in php?
What is php and its advantages?
What is use of header() function in php?
How do you destroy a particular or all Sessions?
What does pear stand for?
What is nan value?
What is the difference between array_map () and array_shift ()?