|
stream_set_timeoutSet timeout period on a stream Description
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 Parameters
Return Values
Returns Changelog
Examples
Example #1 stream_set_timeout example
<?php Notes
This function was previously called as set_socket_timeout and later socket_set_timeout but this usage is deprecated. See Also
|