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

main() { int *ptr=(int*)malloc(sizeof(int)); *ptr=4; printf("%d",(*ptr)+++*ptr++); }

0 Answers  


what is mean CTC

15 Answers   Infosys,


Please help me guys Question : how to solve the program using C language to convert 8-bit binary values to decimal..

0 Answers  


Ruminate endosperm is present in which family?

1 Answers  


In a steam turbine plant why is condenser maintained under high vaccum

1 Answers   Fleet Management,






How many fingers do you have in your both hand?

1 Answers   UPSC,


please send fully solved question of ssc combined graduate level exam of year 2002 to 2009

0 Answers  


Am 18 year old I want to be cabin crew I have no experience in customer services how do I tell the interviewer am matured enough to take responsibility and challenges please some help me to answer outstanding answer

0 Answers  


when will be the results declared for the clerical exams of oriental bank of commerce(obc)held on 18-01-2009?

4 Answers   Oriental Bank Of Commerce,


what is public borrowings

0 Answers  


can anybody please send me past question papers of reserve bank of india grade-b officer stage-1 exam.

0 Answers  


red fort of delhi is bulit by?

1 Answers   Sail,


Categories