mixed print_r ( mixed $expression [, bool $return = false ] )
print_r() displays information about a variable in a way that’s readable by humans.
var_export() will also show protected and private properties of objects with PHP 5. Static class members will not be shown.
Your functions are bloated. Put them on a diet. Think "skinny" and "as few lines as possible."
More coming soon…keep checking back.