params
should be an associative array of the structure:
$params['paramname'] = "paramvalue";.
Table 1. 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 stream_context_create(). |