Context parameters — Context parameter listing
These parameters can be set on a context using the stream_context_set_params() function.
notification
A callable to be called when an event occurs on a stream.
See stream_notification_callback for more details.