What is the difference between var_dump, var_export and print_r ?
var_dump and var_export relate like this (from the manual)
var_export() gets structured information about the given variable. It is similar to var_dump() with one exception: the returned representation is valid PHP code.
They differ from print_r that var_dump exports more information, like the datatype and the size of the elements.