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
Code Examples

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.

Example of stream_context_get_options

Show all examples for stream_context_get_options

PHP Version:


Function stream_context_get_options:

Streams Functions

Most used PHP functions