WHAT ARE THE DIFFERENT TYPES OF ERRORS IN PHP?

WHAT ARE THE DIFFERENT TYPES OF ERRORS IN PHP?

WHAT ARE THE DIFFERENT TYPES OF ERRORS IN PHP?

View Answers

November 15, 2010 at 3:05 PM

Hi all,

The different types of errors in PHP are :

E_ERROR: A fatal error that causes script termination
  E_WARNING: Run-time warning that does not cause script termination
  E_PARSE: Compile time parse error.
  E_NOTICE: Run time notice caused due to error in code
  E_CORE_ERROR: Fatal errors that occur during PHP's initial startup (installation)
  E_CORE_WARNING: Warnings that occur during PHP's initial startup
  E_COMPILE_ERROR: Fatal compile-time errors indication problem with script.
  E_USER_ERROR: User-generated error message.
  E_USER_WARNING: User-generated warning message.
  E_USER_NOTICE: User-generated notice message.
  E_STRICT: Run-time notices.
  E_RECOVERABLE_ERROR: Catchable fatal error indicating a dangerous error
  E_ALL: Catches all errors and warnings

Thanks









Related Tutorials/Questions & Answers:
WHAT ARE THE DIFFERENT TYPES OF ERRORS IN PHP?
What is the difference between PHP4 and PHP5?
Advertisements
What are the different types of AutoProxying?
types of errors in php
What are the different types of property and class mappings?
What is a join and explain different types of joins
What are constructors ? explain different types of constructor with example
What are the different types of interfaces in java? - Java Interview Questions
What is the errors?
What is Headers and Mime Types ?
different types of storage devices of a computer
size of different basic data types
ModuleNotFoundError: No module named 'phpy'
Object with different data types
Different types of web hosting services
What are the types of Advice?
What are different normalization forms?
What are the Collection types in Hibernate ?
What are the different functions in sorting an array?
What are different environments to configure hibernate?
What are the different modules in Spring framework?
New features in PHP5?
with a different number, what’s the problem
with a different number, what’s the problem
What are the types of triggers?
Know the Different Types of E-Commerce
What are the 4 types of AI?
What are the 3 types of AI?
What are types of machine learning?
WHAT TYPES OF IMAGES THAT PHP SUPPORTS?
What are the types of inheritance models in Hibernate?
what are different M.I.S reporting tools basically used?
What are the data types allowed in a table?
what are different M.I.S reporting tools basically used?
Different types of exception handling in Java
errors
What types of Business Benefits of Social Media Marketing
What are the types of Dependency Injection Spring supports
Types of Outsourcing,Different Types of Outsourcing,Types of Outsourcing Services
Conversion from string data type into different data types.
keeps coming up with a different number, what’s the problem.
keeps coming up with a different number, what’s the problem
Different types of event in Java AWT
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, what’s the problem?
check for errors
JAVA what is different between static block and public static void main(String a[]) method
errors
compilation errors
What is webservices?

Ads