Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
Returns the last error that occurred in the script
Returns the last warning that occurred in the script
Returns the last notice that occurred in the script
None of the above
Syntax errors
Runtime errors
Logical errors
To turn off error reporting
To set the level of error reporting
To handle errors with a custom function
To stop the execution of the script on an error
Sets a custom function to handle uncaught exceptions
Sets a custom function to handle runtime errors
Sets a custom function to handle syntax errors
To display errors in the browser console
To log errors to a file or database
Displays the current stack trace
Displays the current error message
Displays a list of all variables in the current scope
To set the maximum execution time for a script
To display all errors
There is no difference, they are synonyms
var_dump() displays the type and value of a variable, print_r() only displays the value
print_r() displays the type and value of a variable, var_dump() only displays the value