[PHP-NOTES] note 130552 added to function.stream-copy-to-stream

[email protected] ("[email protected]") Fri, 21 Nov 2025 11:34:48 +0000
Newsgroups php.notes
Message-ID <[email protected]>
Passing 0 as $offset does not rewind the stream. Any offset that's zero or less is just ignored. It's a bit inconsistent with stream_get_contents().
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.5.137 (proxied: 2a00:102b:5000:e920:b48b:f8b0:a9f6:14e1)
----
Manual Page -- https://php.net/manual/en/function.stream-copy-to-stream.php
Edit        -- https://main.php.net/note/edit/130552
Del: integrated  -- https://main.php.net/note/delete/130552/integrated
Del: useless     -- https://main.php.net/note/delete/130552/useless
Del: bad code    -- https://main.php.net/note/delete/130552/bad+code
Del: spam        -- https://main.php.net/note/delete/130552/spam
Del: non-english -- https://main.php.net/note/delete/130552/non-english
Del: in docs     -- https://main.php.net/note/delete/130552/in+docs
Del: other reasons-- https://main.php.net/note/delete/130552
Reject      -- https://main.php.net/note/reject/130552
Search      -- https://main.php.net/manage/user-notes.php