how to pass print_r in variable in php code example
Example: php put print_r into variable
// When the second parameter is set to TRUE
// print_r() will return the information rather than print it
$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);