Types of Error in PHP


Error Type Value Meaning

E_ERROR

1

It is known as fatal runtime error.

E_WARNING

2

It is known as non fatal runtime error.

E_PARSE

4

It is compile time syntax error.

E_NOTICE

8

It is known as non fatal run time notice.

E_CORE_ERROR

16

It is known as non fatal runtime error generated at initial startup.

E_CORE_WARNING

32

It is known as non fatal compile time error.

E_COMPILE_ERROR

64

It is known as fatal compile time error. It is syntax error that can not be recovered.

E_COMPILE_WARNING

128

It is known as non fatal compile time error.

E_USER_ERROR

256

It is known as user generated error that is generated using trigger_error () function by user.

E_USER_WARNING

512

It is known as user generated warning that is generated using trigger_error () function by user.

E_USER_NOTICE

1024

It is known as user generated notice that is generated by trigger_error () function by user.

E_ALL

2047

It contains all errors type mentioned above.

Download Projects


Download Programs