note 79427 added to function.rewind
| From: | MagicalTux at kinoko dot fr | Date: | Tue, 27 Nov 2007 06:53:04 +0000 |
| Subject: | note 79427 added to function.rewind | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132586@lists.php.net to get a copy of this message | ||
Note that rewind($fd) is exactly the same as fseek($fd, 0, SEEK_SET)
rewind() just moves the location inside the file to the beginning, nothing more. Check if your
stream is "seekable" before planning to use fseek/rewind.
----
Server IP: 217.174.196.197
Probable Submitter: 193.253.141.80
----
Manual Page -- http://www.php.net/manual/en/function.rewind.php
Edit -- https://master.php.net/note/edit/79427
Del: integrated -- https://master.php.net/note/delete/79427/integrated
Del: useless -- https://master.php.net/note/delete/79427/useless
Del: bad code -- https://master.php.net/note/delete/79427/bad+code
Del: spam -- https://master.php.net/note/delete/79427/spam
Del: non-english -- https://master.php.net/note/delete/79427/non-english
Del: in docs -- https://master.php.net/note/delete/79427/in+docs
Del: other reasons-- https://master.php.net/note/delete/79427
Reject -- https://master.php.net/note/reject/79427
Search -- https://master.php.net/manage/user-notes.php