HH\heapgraph_node_in_edges

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

Description

function heapgraph_node_in_edges(
  resource $heapgraph,
  int $index,
): array<array<string, mixed>>

Parameters

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

Return Values

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