In PHP I can say:
print_r($var);
What I can\'t do (at least I don\'t know how) is:
$var_info = print_r($var);
$var_info = print_r($var, true);
When the second parameter is set to TRUE, print_r() will return the information rather than print it
$var_info = print_r($var,true);