上下文(Context)选项和参数
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)选项和参数
PHP Manual