Results 1 to 4 of 4

Thread: What are the Different types of errors in PHP?

  1. #1
    Join Date
    Jan 2009
    Posts
    124

    What are the Different types of errors in PHP?

    Please list me out the number of error occurs while playing with PHP? and along with that also let me know some information about the errors this is because if I am not aware about the its explanation I wont understand that errors refers to..

  2. #2
    Join Date
    Feb 2008
    Posts
    129

    Re: What are the Different types of errors in PHP?

    E_USER_WARNING: User-generated warning message. This is generated from inside PHP scripts to flag up a serious warning message without halting execution. User-generated error message. By default, these errors are displayed to the user, but they do not result in script termination. E_STRICT: Enable to have PHP suggest changes to your code which will ensure the best interoperability and forward compatibility of your code. E_USER_ERROR: This is generated from inside PHP scripts to halt execution with an appropriate message.

  3. #3
    Join Date
    Oct 2008
    Posts
    132

    Re: What are the Different types of errors in PHP?

    Warnings: These are more serious errors - for example, attempting to include() a file which does not exist. By default, these errors are displayed to the user, but they do not result in script termination. E_WARNING : Run-time warning. Execution of the script is not terminated because the situation can be recovered from. E_PARSE : Compile-time parse errors. Only generated by the PHP parser.

  4. #4
    Join Date
    Feb 2009
    Posts
    105

    Re: What are the Different types of errors in PHP?

    E_CORE_WARNING : Compile-time warning. Generally indicates a problem with your PHP installation. Fatal errors: These are critical errors - for example, instantiating an object of a non-existent class, or calling a non-existent function. These errors cause the immediate termination of the script, and PHP's default behaviour is to display them to the user when they take place. E_COMPILE_WARNING: This indicates a non-fatal syntax error in your script. E_USER_NOTICE : User-generated notice message. This is generated from inside PHP scripts to print a minor notice to the screen, usually regarding potential problems with scripts.

Similar Threads

  1. What are the types of errors in C#?
    By mAHASWETA in forum Software Development
    Replies: 4
    Last Post: 25-12-2010, 08:21 AM
  2. Types of CRM
    By Vicky Woodley in forum Education Career and Job Discussions
    Replies: 5
    Last Post: 18-11-2010, 07:39 AM
  3. Different types of RAM
    By Eleeazar in forum Hardware Peripherals
    Replies: 3
    Last Post: 25-11-2009, 01:49 AM
  4. Different types Types CCFL's
    By Zipp in forum Overclocking & Computer Modification
    Replies: 3
    Last Post: 29-10-2009, 09:11 AM
  5. Different RAM types and its uses
    By eliotmc in forum Hardware Peripherals
    Replies: 2
    Last Post: 13-10-2008, 01:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •