Bug #20460 (Feature Request)
| From: | Sara " Pollita " Golemon | Date: | Wed, 27 Nov 2002 19:48:22 +0000 |
| Subject: | Bug #20460 (Feature Request) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-91818@lists.php.net to get a copy of this message | ||
User complains that maximum length of a line used by fscanf is too short
(he has lines > 1600 chars). Looking at file.h I agree (it's only 512).
The user requested two options:
1) Add an optional length field.
No way to do that without breaking parameter list. :(
2) Increase to a larger arbitrary number.
This simply has the problem that it may prove too short eventually as well.
Plus I came up with a third option:
3) Create an .ini entry to specify the maximum length used.
I think this has the best overall return on it.
If #3 sounds okay I'll get to work on it. I await your comments.
-Pollita