HH\heapgraph_foreach_edge

Description

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

Iterates over the edges in the heap graph. Calls back on every edge.

Parameters

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