stream_context_create

stream_context_create

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

stream_context_createCreates a stream context

Description

resource stream_context_create ([ array $options [, array $params ]] )

Creates and returns a stream context with any options supplied in options preset.

Parameters

options

Must be an associative array of associative arrays in the format $arr['wrapper']['option'] = $value登录查看完整内容