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
Why echo is faster than print in php?
i m a B.E,passed out few yrs bak failed to find good job due to less marks now thinkin of a career as PHP developer. is it a lucarative field and wat r career prospects; hv heard dat initial salary is very less bout 6k also most jobs r contrct jobs.pls guide me need ur valuable advice.pls hellppp!! thnx..
What's the difference between __sleep and __wakeup?
What software is required for php?
Which library is used in php to do various types of image work?
How to check an key is exists in array?
What is the purpose of the '.myi' file extension? What do thes file contain?
What are the advantages of object-oriented programming in php?
How to remove values saved in the current session?
How do you sort an array in php?
Tell me how to create a text file in php?
What is php session and how it works?
How do I make a reset button in html?
Explain PHP?
What is the actually used php version?