Types Of Error In php



Types Of Error In php..

Answer / 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

More ICET Interview Questions

please sent me the previous papers for ICET TO MY MAIL ID.

1 Answers  


How I should prepare for MCA with SSC coaching

0 Answers  


who is the founder of modern hockey?

0 Answers  


name the chief minister who was arrested because of black marketting of rs.5500 crores?

1 Answers  


if you are visiting Mount Abu, then you are in ____________ state. a. rajasthan b. utrakhand c. sikkim d. gujarat

1 Answers   HPSSSB,






Which tissue have the main role in the dehiscence of anther ?

1 Answers  


i want to know the type of questions in SBI Banking Examination

2 Answers   State Bank Of India SBI,


what is correlation between annual product quality review and retrospective validation? what is relation between the change control,change deviation and non confirmatory report?

1 Answers  


what is the group2 syllabus

0 Answers   Infosys,


who is the current chief justice of india

11 Answers   HPCL,


i want previous question papers of juniour lectutrs for physics subject.

0 Answers  


kindly tell me about the preparation of bank p.o?

0 Answers   State Bank Of India SBI,


Categories