Menu Samaritan's Purse

STREAM_CONTEXT_GET_OPTIONS

Retrieve options for a stream/wrapper/context

SYNTAX

stream_context_get_options ( resource $stream_or_context ) : array

PARAMETERS

stream_or_context

The stream or context to get options from

RETURN

Returns an associative array with the options.

EXAMPLES

Array
(
    [http] => Array
        (
            [method] => POST
        )

)

PHP