function dargs

Same name in other branches
  1. 7.x-1.x devel.module \dargs()
  2. 5.x devel.module \dargs()

Prints the arguments passed into the current function.

1 string reference to 'dargs'
DevelDumperBase::getInternalFunctions in src/DevelDumperBase.php
Returns a list of internal functions.

File

./devel.module, line 565

Code

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