stream_context_get_default
stream_context_set_option
Stream Functions
PHP Manual

# stream_context_get_options

(PHP 4 >= 4.3.0, PHP 5)

stream_context_get_options — Retrieve options for a stream/wrapper/context

### Description

array stream_context_get_options ( resource `$stream_or_context` )

Returns an array of options on the specified stream or context.

stream_context_get_default
stream_context_set_option
Stream Functions
PHP Manual