diff --git a/reference/stream/functions/stream-context-set-options.xml b/reference/stream/functions/stream-context-set-options.xml
new file mode 100644
index 000000000000..20ab886197a8
--- /dev/null
+++ b/reference/stream/functions/stream-context-set-options.xml
@@ -0,0 +1,132 @@
+
+
+
+ stream_context_set_options
+ Sets options on the specified context
+
+
+
+ &reftitle.description;
+
+ boolstream_context_set_options
+ resourcecontext
+ arrayoptions
+
+
+ Sets options on the specified context.
+
+
+
+
+ &reftitle.parameters;
+
+
+
+ context
+
+
+ The stream or context resource to apply the options to.
+
+
+
+
+ options
+
+
+ The options to set for context.
+
+
+
+ options must be an associative
+ &array; of associative arrays in the format
+ $array['wrapper']['option'] = $value.
+
+
+ Refer to context options and parameters
+ for a listing of stream options.
+
+
+
+
+
+
+
+
+
+ &reftitle.returnvalues;
+
+ &return.success;
+
+
+
+
+ &reftitle.examples;
+
+
+ stream_context_set_options example
+
+ [
+ 'protocol_version' => 1.1,
+ 'user_agent' => 'PHPT Agent',
+ ],
+];
+
+stream_context_set_options($context, $options);
+var_dump(stream_context_get_options($context));
+?>
+]]>
+
+ &example.outputs;
+
+
+ array(2) {
+ ["protocol_version"]=>
+ float(1.1)
+ ["user_agent"]=>
+ string(10) "PHPT Agent"
+ }
+}
+]]>
+
+
+
+
+
+
+ &reftitle.seealso;
+
+
+ stream_context_set_option
+
+
+
+
+
+
diff --git a/reference/stream/versions.xml b/reference/stream/versions.xml
index aa972b35554b..bf32d0b61cc9 100644
--- a/reference/stream/versions.xml
+++ b/reference/stream/versions.xml
@@ -14,6 +14,7 @@
+