downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

stream_copy_to_stream> <stream_context_set_option
Last updated: Fri, 13 Nov 2009

view this page in

stream_context_set_params

(PHP 4 >= 4.3.0, PHP 5)

stream_context_set_paramsストリーム / ラッパ / コンテキストのパラメータを設定する

説明

bool stream_context_set_params ( resource $stream_or_context , array $params )

指定したコンテキストのパラメータを設定します。

パラメータ

stream_or_context

パラメータを適用したいストリームあるいはコンテキスト。

params

設定するパラメータ。

注意: params は、次のような形式の連想配列でなくてはなりません: $params['paramname'] = "paramvalue";

サポートするパラメータ

パラメータ 目的
notification ストリームから何らかの通知があった時に呼ばれる、ユーザ定義のコールバック関数を指定します。
options コンテキストオプションおよびパラメータ へのオプションの配列を指定します。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
stream_context_set_params
There are no user contributed notes for this page.

stream_copy_to_stream> <stream_context_set_option
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites