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
Whether it is possible to share a single instance of a memcache between multiple php projects?
What are the Advantages and Application Areas of PHP?
How is session data stored?
Which php mvc framework is best?
Does php pass arrays by reference?
What is the difference between single-quoted and double-quoted strings in php?
Tell me how comfortable are you with writing html entirely by hand?
Php being an open source is there any support available to it?
Explain the changes in php versions?
What is the difference between php 5 and php 7?
How would you determine the size of a file in php?
How do I debug php?
How to write comment in php?
Why do we use hooks?
Explain the ternary conditional operator in php?