diff --git a/reference/stream/functions/stream-copy-to-stream.xml b/reference/stream/functions/stream-copy-to-stream.xml index 8f66f9123f..75559418e8 100644 --- a/reference/stream/functions/stream-copy-to-stream.xml +++ b/reference/stream/functions/stream-copy-to-stream.xml @@ -1,5 +1,5 @@ - + stream_copy_to_stream @@ -9,20 +9,10 @@ Description intstream_copy_to_stream - mixedsource - mixeddest + resourcesource + resourcedest intmaxlength - - source and dest can each be - either an active stream resource (opened with fopen, - fsockopen, stream_socket_connect, - stream_socket_accept, or another stream creation - function), or a string pointing to a filename or valid wrapper resource. - If source or dest are strings, - PHP will attempt to open the stream from reading or - writting as appropriate, perform the copy, then close it. - Makes a copy of up to maxlength bytes of data from the current position in source to @@ -41,19 +31,6 @@ $dest2 = fopen('remainder.txt','w'); print stream_copy_to_stream($src, $dest1, 1024) . " bytes copied to first1k.txt\n"; print stream_copy_to_stream($src, $dest2) . " bytes copied to remainder.txt\n"; -?> -]]> - - - - Using <function>stream_copy_to_stream</function> on urls - - ]]>