Context options and parameters
PHP Manual

Context parameters

Context parametersContext parameter listing

说明

These parameters can be set on a context using the stream_context_set_params() function.

参数

notification callable

A callable to be called when an event occurs on a stream.

See stream_notification_callback() for more details.


Context options and parameters
PHP Manual