HH\set_frame_metadata

Attach metadata to the caller's stack frame

namespace HH;

function set_frame_metadata(
  mixed $metadata,
): void;

The metadata can be retrieved using debug_backtrace(DEBUG_BACKTRACE_PROVIDE_METADATA).

Parameters

  • mixed $metadata

Returns

  • void