PHP function stream_context_set_option()
Availability in versions: PHP 4.3.0
Sets an option for a stream/wrapper/context
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$stream_or_context |
resource |
not | |
$options |
array |
not |
Return values
bool
Returns true on success, otherwise false on failure.