Types Of Error In php

Answer Posted / kailash khatri

(E_ERROR) Value 1. Fatal error that occurs at script
runtime and stops the script from executing.

(E_WARNING) Value 2. Nonfatal error which occurs at
runtime (for example, if program is not able to connect to
MySQL server).

(E_PARSE) Value 4. Error that occurs at compile time
due to invalid syntax. You need to check your script to
resolve this error.

(E_NOTICE) Value 8. Not exactly an error, but a hint
that you may be doing something you don't want to.

(E_CORE_ERROR) Value 16. Fatal error that occurs when the
PHP engine starts. You cannot run any PHP scripts if this
error occurs.

(E_CORE_WARNING) Value 32. Nonfatal error that occurs
when the PHP engine starts. You can still run PHP scripts,
but you may have one or more problems depending on the
error.

(E_COMPILE_ERROR) Value 64. Occurs when the script is
compiled. A kind of fatal error.

(E_COMPILE_WARNING) Value 128. occurs when the script is
compiled. A kind of Nonfatal error.

(E_USER_ERROR) Value 256. User-generated fatal
error. Same as E_ERROR, but never thrown by PHP.

(E_USER_WARNING) Value 512. User-generated nonfatal
error. Same as E_WARNING, but never thrown by PHP.

(E_USER_NOTICE) Value 1024. User-generated notice.
Same as E_NOTICE, but never thrown by PHP.

(E_ALL) Value 2048. Not really a type of
error. Instead, it is all the errors rolled into one.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why do we use polystyrene film for FT-IR calibration?

2532


what are common arror in english in clerical grade kindly give your answer

1753


1.ants are social insects.why? 2.numismatics is study of ___? 3.rate of change of position is known as ___? 4.a logophile is alover of what? 5.which city hosted '2009 UN climate change conference'?

1758


which of the following is said to be an important aspect of industrial relation? 1.profit and loss of the org 2.future expansion programme 3.conflict and co operation 4.quality control 2. The Govt strategy in maintaining indusstrial relation in india is 1. laissez faire 2. total intervention 3. required intervention 4. none of above

1873


why did the British decide to give education to indians

2167






what is Different between Server.Response and Response.Redirect in ASP.Net?

1484


what is the exam pattern of rrb assistant loco pilot exam?

2893


Whose killling was the trigger for the 1st World War ?

1116


Write short note on t-test?

4450


i want objevtive general english book by rs agarwal , give me free download link

3256


LIST OF NATIONAL HIGHWAYS

2147


Why do you want to be admitted here?

1002


will all bpo companies would be call centers then what is the right meaning of ''NON-VOICE EXECUTIVES"

1034


How I should prepare for MCA with SSC coaching

1146


I want know some good coaching classes in Mumbai for drug inspector exam. Please do reply quick.

1543