HH\set_frame_metadata

Description

function HH\set_frame_metadata(
  mixed $metadata,
): void

Attach metadata to the caller's stack frame. The metadata can be retrieved using debug_backtrace(DEBUG_BACKTRACE_PROVIDE_METADATA).

Parameters

  • mixed $metadata