PHP funkce stream_copy_to_stream()
Dostupnost ve verzích: PHP 5.0
Copies data from one stream to another
Parametry
| Parametr | Datový typ | Výchozí hodnota | Poznámka |
|---|---|---|---|
$source |
resource |
není | The source stream |
$dest |
resource |
není | The destination stream |
$maxlength |
int |
null, | Maximum bytes to copy |
$offset |
int |
null | The offset where to start to copy data |
Návratové hodnoty
int
the total count of bytes copied.