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

search for in the

streamWrapper::stream_close> <streamWrapper::rmdir
Last updated: Fri, 13 Nov 2009

view this page in

streamWrapper::stream_cast

(PHP 5 >= 5.3.0)

streamWrapper::stream_cast元となるリソースを取得する

説明

public resource streamWrapper::stream_cast ( int $cast_as )

このメソッドは、stream_select() に対応してコールされます。

パラメータ

cast_as

stream_select()stream_cast() をコールした場合は STREAM_CAST_FOR_SELECTstream_cast() がそれ以外の用途でコールされた場合は STREAM_CAST_AS_STREAM

返り値

ラッパーが使用しているストリームリソース、あるいは FALSE を返します。

参考

  • stream_select() - select() システムコールと同等の操作を、 ストリームの配列に対して tv_sec と tv_usec で指定されたタイムアウト時間をもって行う



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

streamWrapper::stream_close> <streamWrapper::rmdir
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites