update : 2015.11.03
php.shukuma.com검색:
|
stream_set_timeout(PHP 4 >= 4.3.0, PHP 5) stream_set_timeout — Set timeout period on a stream 설명
bool stream_set_timeout
( resource
$stream
, int $seconds
[, int $microseconds = 0
] )
Sets the timeout value on
When the stream times out, the 'timed_out' key of the array returned by
stream_get_meta_data() is set to 인수
반환값
성공 시 변경점
예제
Example #1 stream_set_timeout() example
<?php 주의
This function was previously called as set_socket_timeout() and later socket_set_timeout() but this usage is deprecated. 참고
|