function dargs

Same name and namespace in other branches
  1. 4.x devel.module \dargs()

Prints the arguments passed into the current function.

File

./devel.module, line 1891

Code

function dargs($always = TRUE) {
  static $printed;
  if ($always || !$printed) {
    $bt = debug_backtrace();
    print kdevel_print_object($bt[1]['args']);
    $printed = TRUE;
  }
}