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

search for in the

stream_set_read_buffer> <stream_set_blocking
[edit] Last updated: Fri, 17 May 2013

view this page in

stream_set_chunk_size

(PHP 5 >= 5.4.0)

stream_set_chunk_sizeストリームのチャンクサイズを設定する

説明

int stream_set_chunk_size ( resource $fp , int $chunk_size )

ストリームのチャンクサイズを設定します。

パラメータ

fp

対象のストリーム。

chunk_size

設定したいチャンクサイズ。

返り値

成功した場合に、変更前の設定値を返します。

chunk_size が 1 より小さいか、あるいは PHP_INT_MAX より大きい場合には FALSE を返します。

エラー / 例外

chunk_size が 1 より小さいか、あるいは PHP_INT_MAX より大きい場合には E_WARNING レベルのエラーが発生します。



add a note add a note User Contributed Notes stream_set_chunk_size - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites