Syntax: mixed print_r ( mixed $expression [, bool $return = false ] )
If you would like to capture the output of print_r(), use the return parameter. When this parameter is set to TRUE, print_r() will return the information rather than print it.
Read more: PHP: print_r - Manual
Login in to like
Login in to comment