note 130552 added to function.stream-copy-to-stream
| From: | anon@example.com | Date: | Fri, 21 Nov 2025 11:34:48 +0000 |
| Subject: | note 130552 added to function.stream-copy-to-stream | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-222428@lists.php.net to get a copy of this message | ||
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