stream_context_set_option

(PHP 4 >= 4.3.0, PHP 5)

stream_context_set_option -- ストリーム / ラッパ / コンテキストのオプションを設定する

説明

bool stream_context_set_option ( resource context|stream, string wrapper, string option, mixed value )

指定されたストリームまたはコンテキストのオプションを設定します。 value の内容が wrapper に対する option として設定されます。