note 111690 added to function.fseek
| From: | lorenzo dot stanco at gmail dot com | Date: | Sun, 17 Mar 2013 18:38:19 +0000 |
| Subject: | note 111690 added to function.fseek | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-194100@lists.php.net to get a copy of this message | ||
I want to give my contribution about the "read last lines from a file" topic. I've
done some researches (starting from here, really) and run many tests for different algorithms and
scenarios, and came up with this:
What is the best way in PHP to read last lines from a file?
http://stackoverflow.com/a/15025877/995958
In that mini-article I tried to analyze all different methods and their performance over different
files.
Hope it helps.
----
Server IP: 69.147.83.199
Probable Submitter: 79.27.45.249
----
Manual Page -- http://php.net/manual/en/function.fseek.php
Edit -- https://master.php.net/note/edit/111690
Del: integrated -- https://master.php.net/note/delete/111690/integrated
Del: useless -- https://master.php.net/note/delete/111690/useless
Del: bad code -- https://master.php.net/note/delete/111690/bad+code
Del: spam -- https://master.php.net/note/delete/111690/spam
Del: non-english -- https://master.php.net/note/delete/111690/non-english
Del: in docs -- https://master.php.net/note/delete/111690/in+docs
Del: other reasons-- https://master.php.net/note/delete/111690
Reject -- https://master.php.net/note/reject/111690
Search -- https://master.php.net/manage/user-notes.php