
Druckansicht von http://www.php-homepage.de/manual/function.stream-context-get-options.php
stream_context_get_options(PHP 4 >= 4.3.0, PHP 5) stream_context_get_options — Retrieve options for a stream/wrapper/context Beschreibung
array stream_context_get_options
( resource
$stream_or_context
)Returns an array of options on the specified stream or context. Parameter-Liste
RückgabewerteReturns an associative array with the options. Beispiele
Beispiel #1 stream_context_get_options() example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
array(1) {
["http"]=>
array(1) {
["method"]=>
string(4) "POST"
}
}
|