Contributions API

Calling all Drupal developers!

Help us get this on the first page of Digg. DIGG NOW!

Modules in 6

dargs

Definition

dargs($always = TRUE)
contributions/devel/devel.module, line 1419

Description

Prints the arguments passed into the current function

Code

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