Query: stream_context_get_options
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STREAM_CONTEXT_GET_OPTIONS(3) 1 STREAM_CONTEXT_GET_OPTIONS(3) stream_context_get_options - Retrieve options for a stream/wrapper/contextSYNOPSISarray stream_context_get_options (resource $stream_or_context)DESCRIPTIONReturns an array of options on the specified stream or context.PARAMETERSo $stream_or_context - The stream or context to get options fromRETURN VALUESReturns an associative array with the options.EXAMPLESExample #1 stream_context_get_options(3) example <?php $params = array("method" => "POST"); stream_context_set_default(array("http" => $params)); var_dump(stream_context_get_options(stream_context_get_default())); ?> The above example will output something similar to: array(1) { ["http"]=> array(1) { ["method"]=> string(4) "POST" } } PHP Documentation Group STREAM_CONTEXT_GET_OPTIONS(3)
Related Man Pages |
---|
cairo_available_surfaces(3) - php |
array_count_values(3) - php |
http-context-options(3) - php |
var_dump(3) - php |
mongodb.lasterror(3) - php |
Similar Topics in the Unix Linux Community |
---|
Forum Video Tutorial: How to Use Code Tags |
New Code Tags (Syntax Highlighting) |
Status of UNIX.COM Forum Transformation |
Denial Of Service Attack Update |