stream_context_set_params

(PHP 4 >= 4.3.0, PHP 5, PHP 7)
Set parameters for a stream/wrapper/context
bool stream_context_set_params ( resource $stream_or_context, array $params )

Sets parameters on the specified context.

Parameters:
stream_or_context

The stream or context to apply the parameters too.

params

An array of parameters to set.

Note:

params should be an associative array of the structure: $params['paramname'] = "paramvalue";.

Returns:

Returns TRUE on success or FALSE on failure.

See also:

stream_notification_callback() -

doc_php
2016-02-24 16:06:54
Comments
Leave a Comment

Please login to continue.