PHP funkce stream_set_timeout()
Dostupnost ve verzích: PHP 4.3.0
Set timeout period on a stream
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$stream |
resource |
není | The target stream. |
$seconds |
int |
není | The seconds part of the timeout to be set. |
$microseconds |
int |
null | The microseconds part of the timeout to be set. |
Návratové hodnoty
bool
vrátí true v případě úspěchu, jinak false v případě neúspěchu.