Bug-Free: Your Bug-Fixing Toolkit (Part 1 of N)

PHP has a large number of tools for fixing bugs and resolving underlying issues. But many people don’t know what they are, and some of them are extensions requiring installation in order to work. In this series, we’ll explore some features for debugging PHP scripts, from the most basic to more advanced.

Today we will discuss tools that ought to be in your bug-fixing toolkit already. There are three tools that everyone should already have:

  • var_dump();
  • print_r();
  • var_export();

Continue reading