HH\heapgraph_node_out_edges

Get an array of outgoing edges from a specific node from the heap graph

namespace HH;

function heapgraph_node_out_edges(
  resource $heapgraph,
  int $index,
): varray<darray<string, mixed>>;

Parameters

  • resource $heapgraph - The resource obtained with heapgraph_create
  • int $index - The node index

Returns

  • array<array<string, - mixed>> The outgoing edges See documentation for heapgraph_edge() about the "edge" array passed to $callback