stream_set_timeout()
function stream_set_timeout(resource $stream, int $seconds, int $microseconds = 0): bool
Sets timeout period on a stream.
Parameters:
$stream(resource)$seconds(int)$microseconds(int), default0, optional
Returns: bool
Availability
| Compiled (AOT) | Magician (eval) |
|---|---|
| Available | Available |
No examples yet. Check examples/ and showcases/ for usage patterns.
Internals
For how stream_set_timeout is implemented in the compiler, see the internals page.