No matter how good a programmer you are, you will at some point find that there are at least one or two errors in your codesometimes because you hit the wrong key while typing, other times because you misunderstood how a function worked, and sometimes even because you were coding at 5 a.m. It is important to understand the arsenal that PHP puts at your disposal.
Chapter10.1: Basic Debugging Technique
Chapter10.2: Making Assertions
Chapter10.3: Triggering Your Own Errors
Chapter10.4: Testing with php_check_syntax( )
Chapter10.5: Source Highlighting
Chapter10.6: Handling MySQL Errors
Chapter10.7: Exception Handling
Chapter10.8: Backtracing Your Code
Chapter10.9: Custom Error Handlers
Chapter10.10: Custom Exception Handlers
Chapter10.11: Using @ to Disable Errors
Chapter10.12: phpinfo( )
Chapter10.13: Output Style |