No cache version.

Caching disabled. Default setting for this page:enabled (code LNG204)
If the display is too slow, you can disable the user mode to view the cached version.

Rechercher une fonction PHP

stream_context_get_options

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

stream_context_get_optionsRetrieve options for a stream/wrapper/context

Description

stream_context_get_options ( resource $stream_or_context ) : array

Returns an array of options on the specified stream or context.

PHP: stream_context_get_options - Manual Home of Manuel PHP  Contents Haut

Parameters

stream_or_context

The stream or context to get options from

PHP: stream_context_get_options - Manual Home of Manuel PHP  Contents Haut

Return Values

Returns an associative array with the options.

PHP: stream_context_get_options - Manual Home of Manuel PHP  Contents Haut

Examples

Example #1 stream_context_get_options() 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"
  }
}

Find a PHP function
Error Infobrol

Can not display this page of the Infobrol website

Type of error (18-01)

Unknown format specifier "&"

Please try again in a few minutes…

Return to the home page




Steph