Menu Home

stream_context_get_params

osbo.com | PHP | Functions | stream_context_get_params

Retrieves parameters from a context

Syntax

stream_context_get_params ( resource $stream_or_context ) : array

Parameters

stream_or_context

A stream resource or a context resource

Return

Returns an associate array containing all context options and parameters.

Examples

Array
(
    [notification] => stream_notification_callback
    [options] => Array
        (
        )

)

PHP