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
Write a program to swap two numbers using php.
What is the functionality of md5 function in php?
What is the function func_num_args() used for?
What's the best method for sanitizing user input with php?
Where can I learn php?
Is it possible to destroy a cookie?
What is meant by public, private, protected, static and final scopes?
Explain how to execute a php script using command line.
How to do single and multi line comment in php?
Is empty check in php?
What is a php namespace?
what is the scope of php in the future if any other language is developed then may be php is loss ???
What does nan stand for computer science?
Explain about a search-friendly site looks like?
Write a program in php to find the occurrence of a word in a string?