You are here

function dargs in Devel 5

Same name and namespace in other branches
  1. 8.3 devel.module \dargs()
  2. 8 devel.module \dargs()
  3. 8.2 devel.module \dargs()
  4. 6 devel.module \dargs()
  5. 7 devel.module \dargs()
  6. 4.x devel.module \dargs()

Prints the arguments for passed into the current function

File

./devel.module, line 1235

Code

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