You are here

function xhprof_array_unset in XHProf 6

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

Removes/unsets one key in an array and return the array

@author Kannan

3 calls to xhprof_array_unset()
xhprof_full_report in ./xhprof.inc
Generates a tabular report for all functions. This is the top-level report.
xhprof_profiler_report in ./xhprof.inc
Analyze raw data & generate the profiler report (common for both single run mode and diff mode).
xhprof_symbol_report in ./xhprof.inc
Generates a report for a single function/symbol.

File

./xhprof.inc, line 1460

Code

function xhprof_array_unset($arr, $k) {
  unset($arr[$k]);
  return $arr;
}