stream_context_get_params
PHP 5 >= 5.3.0, PHP 7, PHP 8
stream_context_get_params - Retrieves parameters from a context
Manual
stream_context_get_params(
resource$context ): array
Retrieves parameter and options information from the stream or context.
Parameters
- context
-
A stream resource or a context resource
Return Values
Returns an associate array containing all context options and parameters.