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 is zend studio for?

537


Why do we use interface in php?

529


Is php faster than python?

556


Explain me what are the differences between mysql_fetch_array(), mysql_fetch_object(), mysql_fetch_row()?

484


How to fix "headers already sent" error in php

539






What is difference between web service and api?

508


How can we make a constant in php?

554


What is different types of visibility?

531


What is difference between strstr() and stristr() in PHP?

539


what is the current salary package in India for a PHP programmer who has 1.5 years experience

2485


Explain Type juggling?

563


What was the old name of php?

955


How to convert one date format into another in php?

483


How to pad an array with the same value multiple times?

468


Does php support inheritance?

503