Menu Riverview Church

STREAM_CONTEXT_SET_DEFAULT

Set the default stream context

SYNTAX

stream_context_set_default ( array $options ) : resource

PARAMETERS

options

The options to set for the default context.

Note: options must be an associative array of associative arrays in the format $arr['wrapper']['option'] = $value.

RETURN

Returns the default stream context.

EXAMPLES

Resource id #2

PHP