note 75292 added to function.stream-get-line
| From: | UtherPendragon at osu1 dot php dot net | Date: | Tue, 22 May 2007 18:58:05 +0000 |
| Subject: | note 75292 added to function.stream-get-line | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-126825@lists.php.net to get a copy of this message | ||
I think this function should have an optional reference parameter which is set to true or false
depending on whether the delimiter or the length was met... yes, you could test the strlen of the
result to see if it equals the length, but thats not definative, as the delimiter COULD have been
met at the same length as was specified.
----
Server IP: 64.71.164.2
Probable Submitter: 69.26.240.93
----
Manual Page -- http://www.php.net/manual/en/function.stream-get-line.php
Edit -- https://master.php.net/note/edit/75292
Del: integrated -- https://master.php.net/note/delete/75292/integrated
Del: useless -- https://master.php.net/note/delete/75292/useless
Del: bad code -- https://master.php.net/note/delete/75292/bad+code
Del: spam -- https://master.php.net/note/delete/75292/spam
Del: non-english -- https://master.php.net/note/delete/75292/non-english
Del: in docs -- https://master.php.net/note/delete/75292/in+docs
Del: other reasons-- https://master.php.net/note/delete/75292
Reject -- https://master.php.net/note/reject/75292
Search -- https://master.php.net/manage/user-notes.php