What are the different types of Errors in PHP?
Answer Posted / guru
Parse error:
The parse errors php is the syntax error. It stops the execution of the script in php. The common reasons for occur parse in php as follows:
1.unclosed quotes
2.missing semicolon
3.unclosed braces
4.missing parentheses
5.add extra parentheses
Fatal error in php:
The fatal error will occur when you call the undefined function in php. It stop the execution of the php script.
Waring in php:
The warning is occurred when you include the file but the file is not found in php. It does not stop the execution of the php script.
Noticed Error:
The noticed error is occurred when you use undefined variable. It does not stop execution of the php script
For more details visit: http://www.phponwebsites.com/2014/06/php-types-of-errors.html
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which MySQL function would you use to select a database?
In php how can you jump in to and out of "php mode"?
What are the rules for naming a php variable?
How to get ip address of clients machine?
What is 'float' property in css?
What is array function in javascript?
What is the difference between pop3 IMAP and MAPI?
How we get browser details of clients machine?
What is the difference between associative array and indexed array?
What are the features of php 7?
How to get the number of characters in a string?
How can you tell if a number is even or odd without using any condition or loop?
How to write php function in html onclick?
Which function parses an English textual date or time into Unix timestamp in PHP.
Explain how is it possible to cast types in php?