← All docs

stream_context_get_params()

Retrieves parameters from the specified stream context.

stream_context_get_params()

function stream_context_get_params(resource $context): array

Retrieves parameters from the specified stream context.

Parameters:

  • $context (resource)

Returns: array

No examples yet — check examples/ and showcases/ for usage patterns.

Internals

For how stream_context_get_params is implemented in the compiler, see the internals page.