stream_context_set_option Sets an option for a stream/wrapper/context &reftitle.description; boolstream_context_set_option resourcestream_or_context stringwrapper stringoption mixedvalue boolstream_context_set_option resourcestream_or_context arrayoptions 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;