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

Which is better mysql or sql?

719


How does session work in php?

713


Explain briefly about a search-friendly site looks like?

660


What changes I have to do in php.ini file for file uploading?

739


Is json a string php?

672






What is the importance of "method" attribute in a html form?

757


Write a program to get second highest number in an array using php?

729


What is the current stable version of php? What advance thing in php7?

696


Why do we use in php?

701


Do you know what does $globals means?

790


Is php easier than javascript?

694


What is difference between session and cookies in php?

654


Who is the father or inventor of php?

762


Which programming language does php resemble?

703


What are the string functions in php?

703