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


Please Help Members By Posting Answers For Below Questions

What is the main difference between asp net and php?

532


What is substr in php?

533


What is data abstraction in php?

584


Why many companies are switching their current business language to php?

593


Which is correct about mysqli and pdo?

568






what the new feature add in php 7.2?

542


What is the difference between single quoted string and double quoted string?

527


How many types of inheritances used in php and how we achieve it.

486


Is python better than php?

509


What is isset function in php?

573


Is numeric in php?

536


Explain about the data types in PHP?

561


Describe which programming language does php parallel to?

473


Does php class need constructor?

487


How many php functions are there?

550