Useful PHP functions for debugging

Useful PHP functions for debugging

Regardless of which system I work on, I always tend to use the same wrapper functions for debugging because they are easy to use and reduce the amount of typing.