PHP function stream_context_create()

Availability in versions: PHP 4.3.0

Create a streams context

Parameters

Parameter Data type Default value Note
$options array null, Must be an associative array of associative arrays in the format $arr['wrapper']['option'] = $value.
$params array null Must be an associative array in the format $arr['parameter'] = $value. Refer to context parameters for a listing of standard stream parameters.

Return values

resource

A stream context resource.

Other resources

Official documentation for stream-context-create

Newsletter

Nejlepsi tipy a triky o PHP do Vaseho e-mailu. Clanky a novinky nejen ze sveta PHP a programovani.