ADBRITE ads links
You are here: CodeIdol.com > Php > PHP 5 in Practice > Error Reporting And Debugging
PHP 5 in Practice
| 19. Error Reporting and Debugging
PHP comes with a well-rounded set of functions to manage error reporting and debugging information. As you might expect, such functionality is highly valued during script development. However, you will find ...
|
|
| 19.1. Defining a Custom Error Handler
PHP's default error handling routines simply do what is needed of them. They display a basic error message (if asked to), log it into the web server's log file, and kill off the script as needed. This is fine ...
|
|
| 19.2. Using Exceptions to Handle Errors
Defining custom error handlers can be useful as described in the preceding section. However, it also is cumbersome in that it completely takes over all error handling for you. It therefore isn't very useful ...
|
|
| 19.3. Timing the Execution of Your Script
When debugging your scripts, and during the maintenance phase of any project, you often need to determine how long it takes for a PHP script to run. More importantly, you often know that a certain script...
|
|
| 19.4. Using Shutdown Functions to Gracefully Handle Script Failures
At times you may be faced with the task of creating a PHP script that no matter what always exits gracefully. For example, you might be writing a PHP script that is fired off by...
|
|
| 19.5. Generating Detailed Backtracing for Error Reporting
It can be useful to have detailed error messages when you are trying to debug code. This can be used to display detailed messages to the screen when in your development environment.
In Lis...
|
|
You are here: CodeIdol.com > Php > PHP 5 in Practice > Error Reporting And Debugging
|
|
Related tags
Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......
|
|