You are here

function xhprof_array_set in XHProf 7

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

Set one key in an array and return the array

@author Kannan

5 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_symbol_report in ./xhprof.inc
Generates a report for a single function/symbol.

File

./xhprof.inc, line 1447

Code

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