You are here

function xhprof_array_set in XHProf 6

Same name and namespace in other branches
  1. 7 xhprof.inc \xhprof_array_set()

Set one key in an array and return the array

@author Kannan

6 calls to xhprof_array_set()
theme_xhprof_run_table in ./xhprof.module
Theme function to display list of XHProf function calls.
xhprof_full_report in ./xhprof.inc
Generates a tabular report for all functions. This is the top-level report.
xhprof_print_flat_data in ./xhprof.inc
Print non-hierarchical (flat-view) of profiler data.
xhprof_print_function_info in ./xhprof.inc
Print "flat" data corresponding to one function.
xhprof_profiler_report in ./xhprof.inc
Analyze raw data & generate the profiler report (common for both single run mode and diff mode).

... See full list

File

./xhprof.inc, line 1449

Code

function xhprof_array_set($arr, $k, $v) {
  $arr[$k] = $v;
  return $arr;
}