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


Please Help Members By Posting Answers For Below Questions

Whether it is possible to share a single instance of a memcache between multiple php projects?

536


What are the Advantages and Application Areas of PHP?

515


How is session data stored?

500


Which php mvc framework is best?

571


Does php pass arrays by reference?

578






What is the difference between single-quoted and double-quoted strings in php?

550


Tell me how comfortable are you with writing html entirely by hand?

520


Php being an open source is there any support available to it?

558


Explain the changes in php versions?

542


What is the difference between php 5 and php 7?

493


How would you determine the size of a file in php?

603


How do I debug php?

532


How to write comment in php?

701


Why do we use hooks?

509


Explain the ternary conditional operator in php?

603