Gen. partnerAlgotech

PHP function stream_copy_to_stream()

Copies data from one stream to another

|
September 11, 2019

Availability in PHP 5.0

Copies data from one stream to another

Parameters

Parameter Data type Default value Note
$source resource not The source stream
$dest resource not The destination stream
$maxlength int null, Maximum bytes to copy
$offset int null The offset where to start to copy data

Return values

int

the total count of bytes copied.

Other resources

Official stream-copy-to-stream documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.