PHP streamWrapper stream_set_option() Method
The PHP streamWrapper::stream_set_option() method changes stream options. This method is called to set options on the stream.
Syntax
public streamWrapper::stream_set_option(option, arg1, arg2)
Parameters
option |
Required. It can be one of the following:
|
arg1 |
Required. If option is:
|
arg2 |
Required. If option is:
|
Return Value
Returns true on success or false on failure. If option is not implemented, false is returned.
❮ PHP Streams Reference