stream_set_blocking

(PHP 4 >= 4.3.0, PHP 5, PHP 7)

stream_set_blocking为锟斤拷源锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷模式

说锟斤拷

stream_set_blocking ( resource $stream , int $mode ) : bool

stream 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷模锟斤拷

锟剿猴拷锟斤拷锟斤拷锟斤拷锟斤拷支锟街凤拷锟斤拷锟斤拷模式锟斤拷锟轿猴拷锟斤拷源锟斤拷锟斤拷锟斤拷锟斤拷锟侥硷拷锟斤拷锟阶斤拷锟斤拷锟斤拷源锟斤拷锟饺o拷锟斤拷

锟斤拷锟斤拷

stream

锟斤拷源锟斤拷锟斤拷

mode

锟斤拷锟� mode 为0锟斤拷锟斤拷源锟斤拷锟斤拷锟结被转锟斤拷为锟斤拷锟斤拷锟斤拷模式锟斤拷锟斤拷锟斤拷锟�1锟斤拷锟斤拷源锟斤拷锟斤拷锟结被转锟斤拷为锟斤拷锟斤拷模式锟斤拷 锟矫诧拷锟斤拷锟斤拷锟斤拷锟矫斤拷锟斤拷影锟届到锟斤拷 fgets() 锟斤拷 fread() 锟斤拷锟斤拷锟侥猴拷锟斤拷锟斤拷锟斤拷源锟斤拷锟斤拷锟饺★拷锟斤拷荨锟� 锟节凤拷锟斤拷锟斤拷模式锟铰o拷锟斤拷锟斤拷 fgets() 锟斤拷锟角伙拷锟斤拷锟斤拷锟斤拷锟截o拷锟斤拷锟斤拷锟斤拷锟斤拷模式锟铰o拷锟斤拷锟斤拷一直锟饺碉拷锟斤拷锟斤拷源锟斤拷锟斤拷锟斤拷锟饺★拷锟斤拷锟斤拷莶锟斤拷芊锟斤拷亍锟�

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟斤拷锟斤拷锟斤拷志

锟芥本 说锟斤拷
4.3.0 锟斤拷PHP 4.3.0之前锟斤拷锟矫猴拷锟斤拷只支锟斤拷锟阶斤拷锟斤拷锟斤拷源锟斤拷锟斤拷

注锟斤拷

Note:

锟矫猴拷锟斤拷之前锟斤拷锟斤拷 set_socket_blocking() 锟斤拷锟斤拷锟街斤拷锟斤拷 socket_set_blocking() 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟矫凤拷锟斤拷锟窖撅拷锟斤拷锟斤拷锟斤拷锟斤拷

锟轿硷拷

  • stream_select() - Runs the equivalent of the select() system call on the given arrays of streams with a timeout specified by tv_sec and tv_usec