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

What are interfaces in php?

521


Is php secure?

535


Why overriding is called runtime polymorphism?

527


How do I run a php script?

558


How to get a total number of elements used in the array?

508






Which is the dependent variable?

494


What is api example?

532


What is session and Cokkies . How it works . tell some thing about Session_id()

1541


Explain Type juggling?

574


What is the use of stripslashes in php?

539


What are the two types of variables?

530


What is the difference between Session and Cookie?

585


What is the super method?

567


How to track user logged out or not? When user is idle?

516


What is singleton class in php?

539