Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



What are the Different types of errors in PHP?

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 12-09-2009
Member
 
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..

Reply With Quote
  #2  
Old 12-09-2009
Member
 
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.
Reply With Quote
  #3  
Old 12-09-2009
Member
 
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.
Reply With Quote
  #4  
Old 12-09-2009
Member
 
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.
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


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


All times are GMT +5.5. The time now is 02:04 PM.