stream_context_get_options Retrieve options for a stream/wrapper/context &reftitle.description; arraystream_context_get_options resourcestream_or_context Returns an array of options on the specified stream or context. &reftitle.parameters; stream_or_context The stream or context to get options from &reftitle.returnvalues; Returns an associative array with the options. &reftitle.examples; <function>stream_context_get_options</function> example "POST"); stream_context_get_default(array("http" => $params)); var_dump(stream_context_get_options(stream_context_get_default())); ?> ]]> &example.outputs.similar; array(1) { ["method"]=> string(4) "POST" } } ]]>