PHP funkce stream_set_write_buffer()
Dostupnost ve verzích: PHP 4.3.0
Sets file buffering on the given stream
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$stream |
resource |
není | The file pointer. |
$buffer |
int |
není | The number of bytes to buffer. If buffer is 0 then write operations are unbuffered. This ensures that all writes with fwrite are completed before other processes are allowed to write to that output stream. |
Návratové hodnoty
int
0 on success, or EOF if the request cannot be honored.