|
| ||||||||||
| Tags: different errors, php errors, php language, windows |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| |||
| |||
| What are the Different types of errors in PHP?
|
|
#2
| |||
| |||
| 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
| |||
| |||
| 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
| |||
| |||
| 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. |
![]() |
|
| Thread Tools | Search this Thread |
| |
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 08:21 AM |
| Types of CRM | Vicky Woodley | Education Career and Job Discussions | 5 | 18-11-2010 07:39 AM |
| Different types of RAM | Eleeazar | Hardware Peripherals | 3 | 25-11-2009 01:49 AM |
| Different types Types CCFL's | Zipp | Overclocking & Computer Modification | 3 | 29-10-2009 09:11 AM |
| Different RAM types and its uses | eliotmc | Hardware Peripherals | 2 | 13-10-2008 01:57 PM |