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 does the unlink() function means?

544


What is 'float' property in css?

588


What language is similar to php?

554


What are classes in php?

552


Tell us how can we display the output directly to the browser?

580






What is the function mysql_pconnect() useful for?

549


What is a php trait?

488


What is mysql in php?

520


Tell me what are sql injections, how do you prevent them and what are the best practices?

507


What is the basic function to search files for lines (or other units of text) that contain a pattern.

564


What is array and function?

531


Do you know what is the function func_num_args() used for?

562


Binary tree question - Node has numeric data (int) The function takes depth as argument and sum all the value of the node of the depth. For instance, (0) depth 0 / \ 10 20 depth 1 / \ / \ 40 50 60 70 depth 2 so if you pass get_sum(2), you would return 220 which is 40+50+60+70 (sum of depth2) write the function.

1508


Explain a resource?

610


What is php constructor?

536