Chapter 12. Debugging and Performance
MAKING MISTAKES IS HUMAN, and so is fixing them. In your day-to-day programming adventures, it’s inevitable to introduce bugs in your PHP code, especially when you’re writing very complex applications with tens of thousands of lines of code spread across tens of files.
When you’re prototyping an application, being able to avoid common programming mistakes is important to ensure that your code will be well-written from the very start. In this chapter, we’ll provide you with some guidelines on writing efficient code, debugging faulty scripts, and identifying bottlenecks when performance becomes an issue for both you and your clients.
Terms You’ll Need to Understand
Comparison operators ...