function pretty_print

7.x theme.inc pretty_print($var, $bool_return = FALSE)
6.x theme.inc pretty_print($var, $bool_return = FALSE)
4.x theme.inc pretty_print($var)
5.x theme.inc pretty_print($var)
1 call to pretty_print()
ppm in includes/theme.inc
Alias of pretty_print($var)

File

includes/theme.inc, line 2265

Code

function pretty_print($var, $bool_return = FALSE) {
  $x = "<pre>" . print_r($var, true) . "</pre>";

  if ($bool_return) {
    return $x;
  }

  print $x;

}