HH\heapgraph_dfs_edges
performs dfs over the heap graph, starting from the given edges
namespace HH;
function heapgraph_dfs_edges(
resource $heapgraph,
array<int> $roots,
array<int> $skips,
mixed $callback,
): void;
calls back on every new edge in the scan.
Parameters
resource $heapgraph
- the resource obtained with heapgraph_createarray<int> $roots
- edge indexes to start the scan fromarray<int> $skips
- edge indexes to consider as if they're not theremixed $callback
- function(array<string, mixed> $edge, array<string, mixed> $node): void {} See documentation for heapgraph_node() about the "node" array passed to $callback
Returns
void