stream_context_get_options
PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
stream_context_get_options - Retrieve options for a stream/wrapper/context
Manual
stream_context_get_options(
resource$stream_or_context ): array
Returns an array of options on the specified stream or context.
Parameters
- stream_or_context
-
The stream or context to get options from
Return Values
Returns an associative array with the options.