-
Book Overview & Buying
-
Table Of Contents
Expert PHP 5 Tools
By :
I started debugging the first time I was asked to code the obligatory "Hello World" program. It's just something that comes with the territory. If you write code, you create bugs. Hopefully you will be able to find most of them by the time your code reaches your application's users.
There are many kinds of bugs that range in complexity from glaringly obvious to nearly impossible to figure out. Knowing that they are out there hiding in your code, we will look at tools for finding and eradicating them in this chapter. Specifically, we will look at configuration options, constants, and functions that are useful when debugging. Armed with that knowledge, we will construct a general-purpose class we can include in our projects for easy debugging. Finally, we will learn how to use Xdebug and Eclipse to interactively debug code running locally or on the server.
One of the first things PHP does when you ask it to execute a piece of code is a...
Change the font size
Change margin width
Change background colour