stream_context_set_optionSets an option for a stream/wrapper/context
&reftitle.description;
boolstream_context_set_optionresourcestream_or_contextstringwrapperstringoptionmixedvalueboolstream_context_set_optionresourcestream_or_contextarrayoptions
Sets an option on the specified context. value
is set to option for wrapper
&reftitle.parameters;
stream_or_context
The stream or context resource to apply the options too.
options
The options to set for the default context.
options must be an associative
array of associative arrays in the format
$arr['wrapper']['option'] = $value.
Refer to context options and parameters
for a listing of stream options.
&reftitle.returnvalues;
&return.success;