What are different types of errors available in Php ?

Member

by adolf , in category: Technology , 4 years ago

 What are different types of errors available in Php ?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

by tyrel_franecki , 4 years ago

There are 13 types of errors in PHP, We have listed all below

  • 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 initial startup.
  • (installation)
  • E_CORE_WARNING: Warnings that occur during PHP 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.

Related Threads:

What are different types of Print Functions available in PHP?
What Is Php Error Handling in 2025?
How many types of storage available in Ionic framework?
What are the encryption functions available in PHP ?
How to Use Php to Parse Json Data in 2025?
How to Create a Composer Package in 2025?