Join Now
Home Aptitude Reasoning DI VA GK CA CA Hindi Quiz Placements
Triggers a runtime error
Triggers a syntax error
Triggers a logical error
None of the above
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
To set the value of a configuration option
To turn off error reporting
To get the value of a configuration option
To stop the execution of the script on an error
There is no difference, they are synonyms
die() displays an error message and exits the script, exit() does not display an error message
exit() displays an error message and exits the script, die() does not display an error message
echo statements
print_r statements
var_dump statements
All of the above
To display errors in the browser console
To log errors to a file or database
To test if a condition is true and trigger an error if it is not
To set the level of error reporting
To display all errors
To set the maximum execution time for a script
To display a list of all variables in the current scope
To display the current error message
To display the current stack trace