## Example

`

     bool stream_set_timeout ( resource $stream , int $seconds [, int $microseconds = 0 ] )

`

## Description

Sets the timeout value on stream, expressed in the sum of seconds and microseconds. When the stream times out, the 'timed_out' key of the array returned by stream_get_meta_data() is set to TRUE, although no error/warning is generated.

## Return Values

Returns TRUE on success or FALSE on failure.