HH\heapgraph_foreach_node

Description

function HH\heapgraph_foreach_node(
  resource $heapgraph,
  mixed $callback,
): void

Iterates over the nodes in the heap graph. Calls back on every node.

Parameters

  • resource $heapgraph - The resource obtained with heapgraph_create
  • mixed $callback - function(array $node): void {}