note 29015 added to function.fgets
| From: | carl at rack1 dot php dot net | Date: | Thu, 30 Jan 2003 12:37:27 +0000 |
| Subject: | note 29015 added to function.fgets | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43129@lists.php.net to get a copy of this message | ||
That omitting the length parameter implies unlimited length in PHP 4.3 is great news. If you have
code that uses fgets() and for which you require PHP 4.3 anyway, you should remove arbitrary buffer
lengths and let PHP do the thinking instead.
--
http://www.php.net/manual/en/function.fgets.php
http://master.php.net/manage/user-notes.php?action=edit+29015
http://master.php.net/manage/user-notes.php?action=delete+29015
http://master.php.net/manage/user-notes.php?action=reject+29015