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

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

1116


Largest producing manganese district of odisha.

1125


My marks in cgl exam 2010 tier-1 129, tier-2 146+100 and my cotagory- OBC what is the result of my for post auditor

1963


. Revti industries has a factory at lonavala and two branches at vapi and silvase. The goods produced at factory are dispatched to the branches. The goods are produced at cost of 170 per unit. The transport cost to vapi is 35 per unit and to silvase are 30 per unit profit @ 20% on cost is added during March 2015, quantity manufactured was 25000 unit. out of this 7500 units were sent to vapi and 6500 unit were sent to silvase the sales during month were. A. lonavala -9000 unit to local customer lonavala 2000 unit to overseas buyer b. vapi -6500 unit to local customer c. silvase -5500 unit to local customer in addition 500 units were captively consumed calculate excise duty payable @ 12.36 %

1248


How I should prepare for MCA with SSC coaching

1146






For any function f(x), the inverse function f-1(x)is defined. If f(x)=3e-x , then f-1(x)=? a)ln(3/x) b) ln(x/3) c) ln(x).5 d) (1/3)ln(x)

1056


what is 162 in tmt bars caluclating fomula ?

1097


resolution depends mainly on -----

1731


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

1030


dear, sir plz tell me abt that what is the syllabus of postal assistant/sorting assistant written exam conducted in madhya pradesh.

1435


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

1484


i want to asst loco pilot exam syllabus

1930


Plzzzzzzzzzzzzzzzzzzzzzzzzzz send me last 5years ssc exam solved papers as soon as possible plzzzzzzzzzzzzzzzzzzzzzzzz i need it.

1580


Write short note on t-test?

4450


please mail me sample question for drug inspector at my id amity1008@gmail.com

2165