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 the difference between for and foreach?

555


How is it possible to parse a configuration file?

513


What is polymorphism php?

506


Can php replace javascript?

535


What is csrf validation?

550






How to define a function with any number of arguments?

572


Explain me what is the goto statement useful for?

478


What is static method php?

558


What is strlen php?

547


What are escaping characters?

545


What is parent __construct ();?

543


Which function would you use to replace a record in a database in php?

590


What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?

574


How arrays are passed through arguments?

614


What is laravel php?

542