Prueba de mi primera revista

Page 124

Debugging Code and Managing Performance

13. A ____________ can help identify and solve bugs. Your Answer: ____________________________

14. What is the difference between trigger_error() and user_error()? A. B. C. D. E.

trigger_error() also allows a script to throw system-level errors user_error() also allows a script to throw system-level errors user_error() cannot be used in an error handler trigger_error() is only available in PHP 5

There is no difference

15. The _______________ function can be used to retrieve the sequence of code function calls that led to the execution of an arbitrary line of code in a script. This function is often used for debugging purposes to determine how errors occur. A. B. C. D. E.

print_r var_dump stack_dump debug_backtrace

None of the above

123


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.