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
Code readability ...