STREAM_CONTEXT_SET_PARAMS(3)						 1					      STREAM_CONTEXT_SET_PARAMS(3)

stream_context_set_params - Set parameters for a stream/wrapper/context

SYNOPSIS
bool stream_context_set_params (resource $stream_or_context, array $params) DESCRIPTION
Sets parameters on the specified context. PARAMETERS
o $stream_or_context - The stream or context to apply the parameters too. o $params - An array of parameters to set. Note $params should be an associative array of the structure: $params['paramname'] = "paramvalue";. SUPPORTED PARAMETERS
+-------------+---------------------------------------------------+ | Parameters | | | | | | | Purpose | | | | +-------------+---------------------------------------------------+ | | | |notification | | | | | | | Name of user-defined callback function to be | | | called whenever a stream triggers a notification. | | | | | | | | options | | | | | | | Array of options as in context options and | | | parameters. | | | | +-------------+---------------------------------------------------+ RETURN VALUES
Returns TRUE on success or FALSE on failure. SEE ALSO
stream_notification_callback(3). PHP Documentation Group STREAM_CONTEXT_SET_PARAMS(3)