What are the different types of Errors in PHP?

Answer Posted / jaysingh

Notices: These are non-critical errors which PHP encounters
while running a script. For example, a variable
accessibility before it is declared.

Warnings: The are more serious errors. For example, using
include()without the existence of the file.

Fatal Errors: These errors are critical errors. For example,
creating an object of a non-existent class. These errors
terminate the script’s execution immediately. These are
intimated to the users.

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 composer phar?

673


What is the apache?

694


How can a cross-site scripting attack be prevented by php?

721


Which PHP function would you use to send an email?

780


Explain me what is the meaning of a persistent cookie?

655


Whether php supports microsoft sql server?

740


What is csrf cookie?

666


What is isset and unset in php?

716


Explain the differences between get and post methods?

714


What is the function in PHP do not return a timestamp?

767


Which function would you use to merge two arrays in php?

751


What are the functions to be used to get the image's properties (size, width and height)?

727


in PHP for pdf which library used?

741


What is the difference between html and php?

711


How to implement a class named dragonball. This class must have an attribute named ballcount (which starts from 0) and a method ifoundaball. When ifoundaball is called, ballcount is increased by one. If the value of ballcount is equal to seven, then the message you can ask your wish is printed, and ballcount is reset to 0. How would you implement this class?

835