Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
To turn off error reporting
To set the maximum execution time for a script
To display all errors
To stop the execution of the script on an error
To set the value of a configuration option
Displays the current stack trace
Displays the current error message
Displays a list of all variables in the current scope
None of the above
To display errors in the browser console
To log errors to a file or database
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
Syntax errors
Runtime errors
Logical errors
To get the value of a configuration option
To set the level of error reporting
To handle errors with a custom function
To display a list of all variables in the current scope
To display the current error message
To display the current stack trace